| {\rtf1\ansi\ansicpg1252\deff0\deflang1044{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 By default pressing f4 opens and closes the dropdown list. When the extended user interface is set pressing the down arrow does this instead of f4. \par \par Enter this into the General Declarations of a form: \par \par Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long \par Private Const CB_SETEXTENDEDUI = &H155 \par \par \par To turn on the Extended User Interface use: \par \par SendMessage cboBox.hwnd, CB_SETEXTENDEDUI, 1, 0 \par \par \par To turn it off use: \par \par SendMessage cboBox.hwnd, CB_SETEXTENDEDUI, 0, 0 \par } |
Setting the combo box Extended User Interface |
India web developer web development India | India web development company India ecommerce web developer