-
IE Menu Bar [NO MFC]
-
SetWindowsHookEx should be called in the WM_CREATE message as follows...
Code:
switch (message)
{
case WM_CREATE:
{
REBARINFO rinfo;
REBARBANDINFO rbInfo;
RECT rc2;
TBBUTTON tbtn[4];
long size;
hHook = SetWindowsHookEx(WH_MSGFILTER,(HOOKPROC)HookProc,GetModuleHandle(NULL),0);
What specifically are the issues with WM_CANCELMODE?
-
WM_CANCELMODE must collapse the old drop-down menu. But it isn't functioning as desired. TBN_HOTITEMCHANGE is sent to the ToolBar all time that mouse is moved on it. Making with that the drop-down menu collapse before.
It's this.
Thanks.