Ignore:
Timestamp:
Feb 10, 2000, 7:49:53 PM (26 years ago)
Author:
cbratschi
Message:

menu and titlebar fix, some new stubs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/menu.cpp

    r2611 r2739  
    1 /* $Id: menu.cpp,v 1.15 2000-02-03 17:13:00 cbratschi Exp $*/
     1/* $Id: menu.cpp,v 1.16 2000-02-10 18:49:50 cbratschi Exp $*/
    22/*
    33 * Menu functions
     
    10871087        ///          for everything except the 1st menu item
    10881088        RECT dummy = rect;
    1089         dummy.bottom = dummy.top+1;
    1090         dummy.right  = dummy.right+1;
     1089
    10911090        FillRect( hdc, &dummy, GetSysColorBrush(COLOR_HIGHLIGHT) );
    1092         FillRect( hdc, &rect, GetSysColorBrush(COLOR_MENU) );
     1091        FillRect( hdc, &rect, GetSysColorBrush(COLOR_MENU) ); //CB: back color switching bug?
    10931092    }
    10941093
     
    26632662            hmenu = MENU_PtMenu(mt.hTopMenu,pt,inMenuBar);
    26642663
    2665             //CB: todo: Win32 dispatches at least some mouse messages!
     2664            //CB: todo: solve conflicts with OS/2's single message queue architecture
    26662665
    26672666            switch(msg.message)
     
    27072706
    27082707                    fEndMenu |= !MENU_MouseMove( &mt, hmenu, wFlags );
    2709                     //CB: dispatch message
    2710                     if (!fEndMenu && !hmenu) DispatchMessageA(&msg);
    2711 
    27122708            } /* switch(msg.message) - mouse */
    27132709        }
Note: See TracChangeset for help on using the changeset viewer.