Return value from function

Return value from function

Postby Silvio » Mon Jan 09, 2006 3: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Mon Jan 09, 2006 5:58 pm

Silvio,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » 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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Tue Jan 10, 2006 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Tue Jan 10, 2006 7: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 104 guests