Thread: IE Menu Bar [NO MFC]

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    2

    IE Menu Bar [NO MFC]

    Hello...

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

    http://msdn2.microsoft.com/en-us/library/bb775450.aspx
    http://groups.google.com.br/group/mi...aa5454ee384b79
    http://groups.google.com.br/group/mi...1c6f4861c289f2
    http://groups.google.com.br/group/bo...c00980571114ee

    In this board, only this:

    http://cboard.cprogramming.com/showthread.php?t=93379

    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
    Location
    Mountaintop, Pa
    Posts
    1,058
    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?

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

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