You can only use the interface by the receiver. There is no standard way for all applications.t57042 wrote:What if the receiver is not a PB program?
sendgadgetcommand
Re: sendgadgetcommand
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

-
- Addict
- Posts: 4791
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: sendgadgetcommand
This is a nice instructive example!netmaestro wrote:This sample sends buttonclicks that are happening in a way visible to the user. To send "silent" clicks, remove the delay from SendVisibleClick or simpy send the #BM_CLICK message.
On my system (Win XP Pro SP 3 x86) I have to replace
Code: Select all
calc = FindWindow_("CalcFrame", 0)
Code: Select all
calc = FindWindow_("SciCalc", 0)
Than you!
Regards, Little John
Re: sendgadgetcommand
Thanks everybody, works nicely on XP ans W7
Richard
Richard