Changeset 9466 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Dec 5, 2002, 10:25:06 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r9463 r9466 1 /* $Id: win32wbase.cpp,v 1.34 4 2002-12-04 15:23:40sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.345 2002-12-05 09:25:06 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1911 1911 PostMessageW( top, WM_SYSCOMMAND, SC_CLOSE, 0 ); 1912 1912 } 1913 1914 //Default OS/2 app behaviour for system keys 1915 if(fOS2Look) 1916 { 1917 if( wParam == VK_F5 ) /* try to restore the window */ 1918 { 1919 HWND top = GetTopParent(); 1920 /* No checks needed SC_RESTORE handler does them */ 1921 PostMessageW( top, WM_SYSCOMMAND, SC_RESTORE, 0 ); 1922 } 1923 1924 if( wParam == VK_F7 ) /* size the window */ 1925 { 1926 HWND top = GetTopParent(); 1927 PostMessageW( top, WM_SYSCOMMAND, SC_MOVE, 0 ); 1928 } 1929 1930 if( wParam == VK_F8 ) /* move the window */ 1931 { 1932 HWND top = GetTopParent(); 1933 if ( GetWindowLongA(top, GWL_STYLE) & WS_SIZEBOX) 1934 PostMessageW( top, WM_SYSCOMMAND, SC_SIZE, 0 ); 1935 } 1936 1937 if( wParam == VK_F9 ) /* try to minimize the window */ 1938 { 1939 HWND top = GetTopParent(); 1940 if ( GetWindowLongA(top, GWL_STYLE) & WS_MINIMIZEBOX) 1941 PostMessageW( top, WM_SYSCOMMAND, SC_MINIMIZE, 0 ); 1942 } 1943 1944 if( wParam == VK_F10 ) /* try to maximize the window */ 1945 { 1946 HWND top = GetTopParent(); 1947 if ( GetWindowLongA(top, GWL_STYLE) & WS_MAXIMIZEBOX) 1948 PostMessageW( top, WM_SYSCOMMAND, SC_MAXIMIZE, 0 ); 1949 } 1950 } 1951 1913 1952 } 1914 1953 else if( wParam == VK_F10 )
Note:
See TracChangeset
for help on using the changeset viewer.