|
-
Apr 10th, 2001, 05:10 PM
#1
Thread Starter
Lively Member
I want to detect if combobox has been changed. I use first command button to set a handle for this combobox, then I hope if I changed the combobox, when I click second command, it will detect. But it does not work, can someone help???
Private Sub Command1_Click()
hEdit = FindWindowEx(Combo1.hwnd, 0 , "Edit", vbNullString)
End Sub
Private Sub Command2_Click()
If SendMessage(hEdit, EM_GETMODIFY, True, True) Then
MsgBox "changed"
End If
End Sub
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
|