Results 1 to 2 of 2

Thread: how can i show the dropdown list of a combo programmatically?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    didn't decide yet
    Posts
    566

    how can i show the dropdown list of a combo programmatically?

    the title says all

    thnks

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    VB Code:
    1. Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Integer, ByVal lParam As Any) As Long
    2. private Const CB_SHOWDROPDOWN = &H14F
    3.  
    4. 'to show the drop down:
    5. dim lngRet as long
    6. lngRet = SendMessage(cbo.hwnd, CB_SHOWDROPDOWN, -1, "")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width