Thread: IE Menu Bar [NO MFC]

  1. #1
    Registered User
    Join Date
    Feb 2008

    IE Menu Bar [NO MFC]


    I need aid\help to finish this menu. In the net I found little aid, I separated somethings:

    In this board, only this:

    My code meets here. I have difficulty in the implementation of the Hook [HookProc() & SetWindowsHookEx()] and with WM_CANCELMODE.

    Thanks... bye...

  2. #2
    Registered User
    Join Date
    Mar 2005
    Mountaintop, Pa
    SetWindowsHookEx should be called in the WM_CREATE message as follows...

    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?

  3. #3
    Registered User
    Join Date
    Feb 2008
    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.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 03-05-2009, 10:25 AM
  2. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  3. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 01:32 PM
  4. Constructive Feed Back (Java Program)
    By xddxogm3 in forum Tech Board
    Replies: 12
    Last Post: 10-10-2004, 03:41 AM