-
March 28th, 2014, 05:31 AM
#1
Combo box height problem when the "size of all items" is set bigger than 200%
I created a Combo box with the property of CBS_OWNERDRAWFIXED in order to center the text. Once I change the 'size of all items' in Display to 200% or bigger (high DPI), the text will be bigger than the combo box height and is clipped.
I've tried not to include CBS_OWNERDRAWFIXED. Without CBS_OWNERDRAWFIXED, the combo box's height is bigger than that with CBS_OWNERDRAWFIXED, so that the text won't be clipped. The combo box is resized well under different DPI settings.
Anybody knows if there is a solution? Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|