CXTComboBoxEx - Horizontal Scrolling |
Post Reply |
Author | |
Kevin6
Groupie Joined: 13 May 2005 Location: United Kingdom Status: Offline Points: 30 |
Post Options
Thanks(0)
Posted: 04 August 2005 at 8:56am |
Dear CodeJock, I am creating a Property Grid to have a bespoke GridItem in a Pane. The Grid Item will consist of a CXTComboBoxEx and a CXTButton. There exists a problem when trying to get the Horizontal scrolling enabled in the CXTComboBoxEx. Here is a code snip -: // The class declaration. CTraSerFPCustomInPlaceListBox : public CXTComboBoxEx I then create the control in the OnSelect handler for my GridItem in the Pane. This works fine and my controls are displayed as I expect them to be. Here is the code snip -:
I have a message map set up for these classes so I can handle some simple interaction. Notice that I have specified the creation of the class CXTComboBoxEx with the WS_HSCROLL and a subsequent call to SetHorizontalExtent. If I use CXTComboBoxEX - it does not work. If I derive my class from CComboBox - the Horizontal scroll bars appear. If I am missing something please let me know is there a work around- or otherwise confirm this as a bug ? Other than this seemingly minor issue - keep up the good work - I look forward to your reply. regards Kevin. |
|
Kevin.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |