Two CComboBox problems...
From: BRM (BRM_at_discussions.microsoft.com)
Date: 08/20/04
- Next message: Dave: "Disabling of a feature"
- Previous message: Bruce: "RE: Problem: _WINDLL COM DLL calling Regular DLL Dynamically Linke"
- Next in thread: BRM: "RE: Two CComboBox problems..."
- Reply: BRM: "RE: Two CComboBox problems..."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 20 Aug 2004 11:16:58 -0700
I am almost finished with my new combo box, but I have two problems left.
(1) I need to reset the content, which works fine with ResetContent(),
however, when I later try to set the text using SetWindowText either of the
Edit Box directly (since it is subclassed) or using the Combo Box's
SetWindowText(), it does not get reset. I try to set the text both directly
after all the content has been removed, and also after I have filled the new
content in. Neither time will it get the text.
(2) I need to detect when the user presses the enter key in the Edit Box. I
have most of the WM_* messages mapped that CComboBox would normally get, and
I basically call the CComboBox equivalent. (I.e. CComboBox::OnKeyUp() for
WM_KEYUP). However, I tried setting a break point to see the data coming
through in order to try to determine where to capture the message so that I
can process it.
I essentially have content in the list box of the Combo Box that needs to be
appended to the content of the Edit Box, and then the List Box data needs to
be reloaded based on what was selected. I can get the selection just fine.
(I think I even tried doing #1 from where I get the selection and after all
of the content loading is complete outside of my load function.)
Help much appreciated!
TIA,
BRM
- Next message: Dave: "Disabling of a feature"
- Previous message: Bruce: "RE: Problem: _WINDLL COM DLL calling Regular DLL Dynamically Linke"
- Next in thread: BRM: "RE: Two CComboBox problems..."
- Reply: BRM: "RE: Two CComboBox problems..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|