IE Menu Bar [NO MFC]

This is a discussion on IE Menu Bar [NO MFC] within the Windows Programming forums, part of the Platform Specific Boards category; 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 ...

  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:

    Creating an Internet Explorer-style Menu Bar

    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,059
    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, 09: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, 12:32 PM
  4. Constructive Feed Back (Java Program)
    By xddxogm3 in forum Tech Board
    Replies: 12
    Last Post: 10-10-2004, 03:41 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21