Results 1 to 27 of 27

Thread: [RESOLVED] pull down the combo box

Threaded View

  1. #5
    Frenzied Member zynder's Avatar
    Join Date
    Nov 2006
    Location
    localhost
    Posts
    1,434

    Re: pull down the combo box

    Why do you want a pulldown? Just asking...

    Well, anyway just completing what Fazi started.


    Code:
    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
    Const CB_SHOWDROPDOWN = &H14F
    
    
    Private Sub Command1_Click()
        SendMessage Combo1.hwnd, CB_SHOWDROPDOWN, 1, 0
    End Sub
    Last edited by zynder; Oct 20th, 2007 at 12:20 PM.

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