I've checked and re-checked to try and figure out why when I switch to another application and come back to mine the focus is gone from the last gadget that had it. Is this something that happens automatically or something I'm doing that I just haven't found yet?
Thanks!
Gadgets lose focus when window does?
Gadgets lose focus when window does?
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Re: Gadgets lose focus when window does?
Seems to be a bug -- no other apps behave that way. Just check for
lost/gained focus of your app, using GetForegroundWindow_() and
your WindowID(), and then use ActivateGadget to restore the gadget
focus manually. A bit of a hassle, yes, but will fix your problem.
lost/gained focus of your app, using GetForegroundWindow_() and
your WindowID(), and then use ActivateGadget to restore the gadget
focus manually. A bit of a hassle, yes, but will fix your problem.
Yeah, but I'd have to track what gadget had the focus when window focus was lost.. Argh 
Thanks for verifying though!
Thanks for verifying though!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
