Page 1 of 1

Return value from function

Posted: Mon Jan 09, 2006 3:25 pm
by Silvio
If I open windows and click on "start" and the n on "programs" ....
there is a function in windows(xharbour &fw) give me the words of the menu or the prompt ?

Regards

Posted: Mon Jan 09, 2006 5:58 pm
by Antonio Linares
Silvio,

GetModuleFileName( GetModuleHandle() ) will return you the name of the executed EXE.

Posted: Mon Jan 09, 2006 10:52 pm
by Silvio
No antonio yo u don't understand me
when i put the mouseover on "start" the procedure let me say = "start"
When I put the mouse over the menu the procedure let me say the name or the propt of the menu
Do you understand me now ?
regards

Posted: Tue Jan 10, 2006 8:04 am
by Antonio Linares
Silvio,

Do you mean that if you do a:

MENUITEM oItem PROMPT "&One" ACTION ...

then you want to retrieve "&One" ?

Posted: Tue Jan 10, 2006 7:26 pm
by Silvio
ok I explain You... and I hope You help me
I have at school a boy..
He is blind !!!!!
I think to use the class of Cesar to talk the pc.
When he open the pc move the mouse on start and select a program
My application must speack (txttospeeck) the word of the menu
example : i move the mouse on start and the program must say "start" then I move the mouse on the another menu of window and the program must say all the word when the mouse move on
It is possible this ?

Regards