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?