Using constraints and expand button |
Post Reply |
Author | |
ssimon
Newbie Joined: 14 April 2005 Location: United States Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 21 April 2005 at 10:26am |
I would like to use both a combobox and an 'expand' button.
Unfortunately, the CXTPPropertyGridItem doesn't appear to support both
flags simultaneously.
So I am trying to write my own CXTPPropertyGridItem-derived class that uses a CComboBox and CButton. I have followed the same pattern as the samples that use custom grid items, and in my OnSelect() I call Create() and MoveWindow() on my combobox (and button) passing in the CRect returned by GetValueRect(). Unfortunately, when the combobox is drawn its height is taller than the height of the grid cell. Might anyone have any ideas/suggestions? Or is there a better way to approach this? Thank you in advance for any suggestions. |
|
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 |