Return value from function

Post Reply
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Return value from function

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Silvio,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Silvio,

Do you mean that if you do a:

MENUITEM oItem PROMPT "&One" ACTION ...

then you want to retrieve "&One" ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post 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
Post Reply