|
-
Aug 18th, 2010, 06:47 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Combo box notification messages with a Toolbar parent
I have my WM_COMMAND CBN_messages trapped and working when the combo box has a frame control as a parent, lParam having the combo box handle.
I have since moved the combo box to a toolbar (placeholder style), now I want to trap the CBN_messages again, but I can't find the parent for the combo.
I tried WndProc-ing frm.toolbar1.hwnd as the parent also tried
htoolbar = GetWindow(frm.toolbar1.hwnd,GW_CHILD)
also tried "htoolbar" as the parent window handle which is required for any TB_messages.
Neither handle worked, so how do I find/get the parent?
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
|