February 9th, 2004, 12:32 PM
Thank you Darwen.
I had a feeling SetWindowPos was the function I needed but I was not setting the first parameter properly.
February 9th, 2004, 11:44 AM
What I wanted to do was, when my first button has focus and TAB is pressed, I wanted to force the dynamic button to have focus. I tried SetFocus AND I tried SetWindowPos so it would be the topmost...
February 9th, 2004, 09:44 AM
I have several buttons on a dialog. Then, I dynamically add another button during execution. My problem is that I need the dynamic button to have a tab order somewhere between the other buttons.
I...
January 29th, 2004, 11:00 AM
Yes, I have MS Visual C++.net.
The only way I am able to work around the problem is to capture the keystroke in PreTranslateMessage.
However, I don't find this is the best way to do it and I would...
January 29th, 2004, 09:38 AM
Has anyone seen this?
My window is a modal dialog with various buttons on it. In the caption for the buttons, I specify & before the character that I want so that when ALT + that character are...
January 15th, 2004, 10:06 AM
I was able to capture in the PreTranslateMessage if the tab key was pressed and with the GetAsyncKeyState function I can tell if the Ctrl key is pressed along with the Shift. It works fine.
Thanks...
January 14th, 2004, 01:14 PM
I have a Tab Control along with other controls on a regular Dialog. I need to be able to have access to the tabs with the keyboard just by pressing Ctrl+Tab. And going backwards with Shift+Ctrl+Tab....
March 14th, 2003, 11:55 AM
March 14th, 2003, 10:19 AM
I am fairly new at VC++ programming so please bare with me.
I have a dialog window with a menu item. When I click on this menu item, another dialog window opens using following code:
...
December 11th, 2002, 09:55 AM
I need to retrieve the currently selected index of my list box BEFORE the user has changed the selection.
I am unable to retrieve the index before another item is selected since in the...
August 22nd, 2002, 10:36 AM
I am trying to draw different colored words in a list box string. I am able to draw the whole string a certain color but not by character or by word. Following is the code I use:
void...