-
February 1st, 2020, 01:52 AM
#1
ComboBox - increase the width of the right most drop down button
Hi,
Using mouse, it was no problem to access the combo box. But, Using touch screen, it was very difficult to access the combobox.
I was used the below code for increase combo height.
how do i increase the drop down button width?
Code:
CComboBox* pCtl = (CComboBox*)GetDlgItem(IDC_CAM_SELECTION);
pCtl->SendMessage(CB_SETITEMHEIGHT,(WPARAM) -1,(LPARAM)35);// change heigh of combobox
pCtl->SetItemHeight(0,35);// change the heigh of combobox's drop list item
Regards,
SaraswathiSrinath
-
February 1st, 2020, 04:33 AM
#2
Re: ComboBox - increase the width of the right most drop down button
Looks like you need to implement a custom draw or maybe even a custom control.
Victor Nijegorodov
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
|