sendgadgetcommand

Just starting out? Need help? Post your questions and find answers here.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: sendgadgetcommand

Post by ts-soft »

t57042 wrote:What if the receiver is not a PB program?
You can only use the interface by the receiver. There is no standard way for all applications.
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.
Image
Little John
Addict
Addict
Posts: 4791
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: sendgadgetcommand

Post by Little John »

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.
This is a nice instructive example!
On my system (Win XP Pro SP 3 x86) I have to replace

Code: Select all

calc = FindWindow_("CalcFrame", 0)
with

Code: Select all

calc = FindWindow_("SciCalc", 0)
and then it works fine.
Than you!

Regards, Little John
RASHAD
PureBasic Expert
PureBasic Expert
Posts: 4954
Joined: Sun Apr 12, 2009 6:27 am

Re: sendgadgetcommand

Post by RASHAD »

Fri Oct 14, 2011 7:58 pm
Sat Oct 15, 2011 6:57 pm

23 hour late
Egypt my love
t57042
Enthusiast
Enthusiast
Posts: 203
Joined: Fri Feb 22, 2008 12:28 pm
Location: Belgium

Re: sendgadgetcommand

Post by t57042 »

Thanks everybody, works nicely on XP ans W7

Richard
Post Reply