MilesAhead Posted September 4, 2009 Share Posted September 4, 2009 Just wondering if anyone ran into this behavior. I set a hotkey to a function that displays a gui. In the gui function I use HotKeySet right after the gui is displayed to disable the hotkey(so the same popup window won't be opened again) and after the form is destroyed, I use HotKeySet to enable the hotkey again. I can pop the window up and down all day, no "doink" but, if I do the _About() function which displays a customized gui, which likewise disables and enables the same hotkey, once I have put that window up once, every time I use the hotkey to open the main popup window from then on, I get "doink" Window alert. Seems like I only get this on Vista64 SP1. I'm running the same program on Windows 7 32 bit, no doink!!! My Freeware Page Link to comment Share on other sites More sharing options...
andygo Posted September 5, 2009 Share Posted September 5, 2009 hello, maybe you could do this with "if winexists... then..." in the hotkeyfunction? then you dont need to unset and set the hotkey. Link to comment Share on other sites More sharing options...
MilesAhead Posted September 5, 2009 Author Share Posted September 5, 2009 Thanks for the suggestion. I'll try it. My Freeware Page Link to comment Share on other sites More sharing options...
MilesAhead Posted September 5, 2009 Author Share Posted September 5, 2009 That worked well. Thanks. My Freeware Page Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now