FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Return value from function
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Return value from function
Posted: Mon Jan 09, 2006 03:25 PM

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

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Return value from function
Posted: Mon Jan 09, 2006 05:58 PM

Silvio,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Return value from function
Posted: Mon Jan 09, 2006 10:52 PM

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

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Return value from function
Posted: Tue Jan 10, 2006 08:04 AM

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
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Return value from function
Posted: Tue Jan 10, 2006 07:26 PM

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

Best Regards, Saludos



Falconi Silvio

Continue the discussion