RE: Help with w32Func(xSendMessage,{})
- Posted by CoJaBo <cojabo at suscom.net> Mar 23, 2004
- 426 views
Derek Parnell wrote: > > > > -----Original Message----- > > From: CoJaBo [mailto:cojabo at suscom.net] > > Sent: Tuesday, 23 March 2004 10:30 AM > > To: EUforum at topica.com > > Subject: RE: Help with w32Func(xSendMessage,{}) > > > > > > Derek Parnell wrote: > > > > > > > > > > -----Original Message----- > > > > From: CoJaBo [mailto:cojabo at suscom.net] > > > > Sent: Tuesday, 23 March 2004 10:03 AM > > > > To: EUforum at topica.com > > > > Subject: Help with w32Func(xSendMessage,{}) > > > > > > > > > > > > I am using w32Func(xSendMessage,{control,message,w,l}) to > > > > send a simple > > > > command to another program. > > > > I have a few questions: > > > > w32Func(xSendMessage,{control,message,w,l}) > > > > Is there any way to set control to send to all main > > program windows? > > > > > > The 'control' parameter is the handle of a control. AFAIK, > > you can use > > > HWND_BROADCAST to send to all main windows currently running. > > > > HWND_BROADCAST has not been declared > > HWND_BROADCAST > > ^ > > > constant HWND_BROADCAST = #FFFF > Thanks, it seems to work fine, except for: > so now one can do ... > > w32Proc(xSendMessage, {HWND_BROADCAST, w32FindReplaceMsg, w,l }) This should be w32Func()! > > -- > Derek > >