UPDATE
I am not getting where I need to go with this Alt-key or Control-key method of doing things.
WINDOWS standard is to be able to use the Alt key in combination with various menu choices and Buttons when a specific letter of that menu choice is underlined. The way this is done is to precede the letter with ‘&’ (ampersand). This is common in developing Windows based apps.
Since the application continues to crash using this method (that RBGUIframework.dll thing), I’ve resorted to a whole lotta extra programming to accommodate the use of the Control key instead utilizing a timer as suggested.
UNFORTUNATELY … no matter what I do (so far), what I’m finding is if a user holds the key too long (and that doesn’t take much), it will process that key combination multiple times.
For instance, I have 3 windows involved as follows (in that order)…
MainSearch
Address
Statting
Each window is programmed to be closed using Control+X
From the MainSearch, the Address window is opened.
From the Address window the Statting window is opened.
Closing the Statting window using Control+X should leave the focus on the Address window . Sometimes it does … but other times, if the Control+X is held just a tad too long, the Address window also closes (because the Timer code that processes the Control+X key on that window then fires).
How in the world can I get this thing to work the way I need it to using either Alt or Control (Alt being the preferred method as it is a Windows standard) ???
BTW, I have submitted a FeedBack report on the RBGUIframework.dll … so far no cure has been forthcoming.
I have a hard time understanding why, that such a robust programming environment such as this, can have such a BUG and nothing is being done about it, especially when I apparently am not the only person who has encounted the issue. (sorry for my venting but I am getting extremely frustrated and am wasting a lot of time trying to make this work when it really should be a non-issue)