Home
last modified time | relevance | path

Searched refs:hSysMenu (Results 1 – 2 of 2) sorted by relevance

/trunk/main/vcl/os2/source/window/
H A Dsalframe.cxx693 HWND hSysMenu = WinWindowFromID( hWndFrame, FID_SYSMENU ); in ImplSalCreateFrame() local
694 if ( hSysMenu ) in ImplSalCreateFrame()
697 WinEnableMenuItem(hSysMenu, SC_RESTORE, FALSE); in ImplSalCreateFrame()
699 WinEnableMenuItem(hSysMenu, SC_MINIMIZE, FALSE); in ImplSalCreateFrame()
701 WinEnableMenuItem(hSysMenu, SC_MAXIMIZE, FALSE); in ImplSalCreateFrame()
703 WinEnableMenuItem(hSysMenu, SC_SIZE, FALSE); in ImplSalCreateFrame()
708 HWND hSysMenu = WinWindowFromID( hWndFrame, FID_SYSMENU ); in ImplSalCreateFrame() local
709 if ( hSysMenu ) in ImplSalCreateFrame()
711 WinEnableMenuItem(hSysMenu, SC_CLOSE, FALSE); in ImplSalCreateFrame()
/trunk/main/vcl/win/source/window/
H A Dsalframe.cxx553 HMENU hSysMenu = GetSystemMenu( hWnd, FALSE ); in ImplSalCreateFrame() local
554 if ( hSysMenu ) in ImplSalCreateFrame()
557 DeleteMenu( hSysMenu, SC_RESTORE, MF_BYCOMMAND ); in ImplSalCreateFrame()
559 EnableMenuItem( hSysMenu, SC_RESTORE, MF_BYCOMMAND | MF_GRAYED | MF_DISABLED ); in ImplSalCreateFrame()
561 DeleteMenu( hSysMenu, SC_MINIMIZE, MF_BYCOMMAND ); in ImplSalCreateFrame()
563 DeleteMenu( hSysMenu, SC_MAXIMIZE, MF_BYCOMMAND ); in ImplSalCreateFrame()
565 DeleteMenu( hSysMenu, SC_SIZE, MF_BYCOMMAND ); in ImplSalCreateFrame()
570 HMENU hSysMenu = GetSystemMenu( hWnd, FALSE ); in ImplSalCreateFrame() local
571 if ( hSysMenu ) in ImplSalCreateFrame()
572 EnableMenuItem( hSysMenu, SC_CLOSE, MF_BYCOMMAND | MF_GRAYED | MF_DISABLED ); in ImplSalCreateFrame()

Completed in 86 milliseconds