Combo box: Dropdown expand mode 
Author Message
 Combo box: Dropdown expand mode

Hi guys,

Is there a way to tell if a DBCombo box or any combo boxes are in
expanded mode, where you click on the down arrow and it lists all items
?

thanks in advance
--
T h e m i n h  D i e p
Programmer-analyst / Programmeur-analyste

National Research Council Canada / Conseil national de recherches Canada

Biothechnology Research Institute / Institut de recherche en
biotechnologie





Fri, 23 Jun 2000 03:00:00 GMT  
 Combo box: Dropdown expand mode

Const CB_GETDROPPEDSTATE = &H157
Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd
As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long

lDropped = SendMessage(cmbList.hWnd, CB_GETDROPPEDSTATE, 0, 0)

If lDropped = 0, the list is not visible, otherwise, it's visible.



Fri, 23 Jun 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Combo box: Dropdown expand mode

2. Combo box: Dropdown expand mode

3. Combo box: Dropdown expand mode

4. Auto Expand feature on Combo boxes

5. Expanding Combo Box with keyboard but not mouse

6. auto expand combo box

7. Expanded tab characters in Combo Box?

8. 97, Combo box, Dropdown problem.

9. Combo Box won't dropdown on form open

10. how to set read only a dropdown combo box

11. Default value for dropdown combo list box?

12. Newbie: Set a combo box style(2)/Dropdown list to the first element in the list

 

 
Powered by phpBB® Forum Software