Page 1 of 1

Freak, could you help us ? again...

Posted: Mon Jun 15, 2009 11:09 am
by lavachri
Hello,
I'm blind and j write applications for another blind people using JAWS ScreenReader.
PureBasic is cool but I have some problems for make accessible tools.

1) EditorGadget or StringGadget in multiline.
We can't use the popular "Insert+NumPad2" (JAWS Shortcut) to read all the text and JAWS is blocked...
You can simply check it : in the IDE, go to the "About" ItemMenu, set the focus on the text and hit Insert+NumPad2

2) OptionGadget.
We can't change selection with the keyboard.

3) GetActiveGadget()
Return -1 when an WebGadget have the focus.
It make problems, for use my code to keep the focus to the last ActiveGadget when the mainwindows is activate.

Code: Select all

Procedure CallbackMainWindow( hWnd, uMsg, wParam, lParam) 
  Protected Tmp
  If uMsg = 6 ; Windows Lost Focus
    If wParam = 0 And hWnd = hMainWindow
      Tmp = GetActiveGadget()
      If Tmp <> -1
        GadgetWhenMainWindowLostFocus = Tmp
      EndIf
    EndIf
  EndIf
  ProcedureReturn #PB_ProcessPureBasicEvents 
EndProcedure 
...
  Case #PB_Event_ActivateWindow
    If IsGadget( GadgetWhenMainWindowLostFocus )
      SetActiveGadget( GadgetWhenMainWindowLostFocus )
    EndIf
4) I made a litle html page about PureBasic for french blind programmers.
http://www.lavakri.fr/Doc_PureBasic.html
To improve editing code in the IDE, I want to make some tools,but i can't get the Scintilla text...
Why this code don't work ?

Code: Select all

hSCI = Val(GetEnvironmentVariable("PB_TOOL_Scintilla")) 
If hSCI 
   len = SendMessage_(hSCI,#SCI_GETTEXTLENGTH,0,0) + 1
   *buf = AllocateMemory(len) 
   If *Buf
     R = SendMessage_(hSCI,#SCI_GETTEXT,Len, *Buf ) 
    Text$ = PeekS( *Buf, Len )
     MessageRequester("Len="+Str(Len)+" ReturnedLen="+Str(R),Text$ ) 
   EndIf
EndIf
Thanks

Posted: Sat Jun 20, 2009 1:14 pm
by Gansta93
I am astonished to see that there is not any answer to this post.
Freak did very good work in the past to help blind people (in the IDE and for scrolling gadget for example).

Why aren't there any answer?
Are blind people less interesting than before?

Posted: Sat Jun 20, 2009 2:20 pm
by blueznl
Not too quick, he may be busy, he may be out, he may be checking out if it is possible or not... This isn't an instant answer forum, so replies can take a couple of days, or even weeks...

Posted: Sat Jun 20, 2009 2:37 pm
by Fluid Byte
Gansta93 wrote:Why aren't there any answer?
Are blind people less interesting than before?
Oh ffs cmon .... :roll:

Posted: Sat Jun 20, 2009 2:42 pm
by Gansta93
You've just proved I am right... not any answer until my radical message... :D

Posted: Sat Jun 20, 2009 5:08 pm
by rsts
The original post was addressed to freak.

He is probably busy. He has not answered.

All you've proved is that you can stir the pot :)

Posted: Sat Jun 20, 2009 5:11 pm
by Gansta93
rsts wrote:The original post was addressed to freak.

He is probably busy. He has not answered.

All you've proved is that you can stir the pot :)
I disagree.
A post can be destinated to someone, but other people can react about its subject. But... it is not the subject ;).

Posted: Sun Jun 21, 2009 1:52 am
by PB
> Why aren't there any answer?

Because I for one can't answer the question, but I can this one.

> Are blind people less interesting than before?

Ooh, you are quite the troll, aren't you?

For the record, I've posted dozens of questions to Fred and Freak that have
gone unanswered. Maybe if I said I was blind, I'd get an answer quicker?
Do blind people deserve priority? Don't be daft. They get equal treatment.

Posted: Sun Jun 21, 2009 10:37 am
by lavachri
Hi,
the problems is not we are blind, because nobody can't change it !

The purebasic have a natural good accessibility for blind people with screenreaders, but some little things can block the ScreenReader, and we can't use the application ...

This requests are not only for me but, in fact, to improve accessibility of all applications made with PureBasic.

If i call Freak, it's because he already made a good work for us whith IDE...

Thanks again

Posted: Sun Jun 21, 2009 12:21 pm
by Gansta93
The only thing I wanted to do is to avoid this post to be lost. I have succeeded, and more, you are continuing. Thank.
You'r right, my message is not reasonable.
But... there are too many people who don't care at all, so i prefer to abuse to have an answer than to be reasonnable and not have any answer. Maybe it is because I am french and France work like that ;).

Posted: Sun Jun 21, 2009 12:38 pm
by Kaeru Gaman
completely bullshit!
if you really care about blind people, you should avoid to spam their threads!

did you ever think about the possibility, that nobody answered because nobody had serious enough information?

if you want to show off, take a banner and demonstrate in front of the parliament!

Posted: Sun Jun 21, 2009 12:50 pm
by Gansta93
I posted because I think it is not fully useless.

And the interest you have to my stupid shows that I was right to post.

But now I am sure this post is not forgotten, I'll stop posting because I'm a stupid spammer (sure, I just want to be sure that the "non answer" is not because nobody cares so I am a troll).

See french forum, and you'll understand why I am saying that i am afraid that nobody in PureBasic team care.

But... I am a troll, so bye... i am blind too, so I don't want to post to be concidered as an anarchie... but if you want to juge my motivation, go ;) but remember that "when you talk about me, someone else is juging you" ;).

Posted: Sun Jun 21, 2009 4:55 pm
by blueznl
Relax, people, no need to flame away... If the PureBasic team thinks it's doable and important enough they will do it. If not they won't. No need for hard feelings in this case...