Changeset 778 in dev for branches/egtra/ab5.0/abdev/abdev/src/MainFrame.cpp
- Timestamp:
- Jan 24, 2011, 2:01:54 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/abdev/src/MainFrame.cpp
r772 r778 28 28 } 29 29 30 #ifdef HAVE_WINDOWS_7_SDK31 32 30 #define MSGFLT_ADD 1 33 31 … … 57 55 wndTarget(hwndTarget) 58 56 { 57 DWORD const WS_EX_NOACTIVATE = 0x08000000; 58 59 59 HWND hwndDummy = Create( hOwner, CRect( -32000, -32000, 1, 1 ), title, 60 60 WS_BORDER | WS_SYSMENU | WS_CAPTION, WS_EX_NOACTIVATE); … … 311 311 WindowMap windowMap; 312 312 }; 313 #endif HAVE_WINDOWS_7_SDK 314 315 #ifdef HAVE_WINDOWS_7_SDK 313 316 314 MainFrame::MainFrame() : 317 315 TaskbarButtonCreated( RegisterWindowMessage( TEXT("TaskbarButtonCreated") ) ) … … 330 328 } 331 329 } 332 #else333 MainFrame::MainFrame() {}334 #endif335 330 336 331 void MainFrame::Resized() … … 925 920 ::LRESULT MainFrame::OnTaskbarButtonCreated( ::UINT msg, ::WPARAM, ::LPARAM ) 926 921 { 927 #ifdef HAVE_WINDOWS_7_SDK928 922 if ( msg == 0 ) { // 念のため確認 929 923 return 0; 930 924 } 931 925 taskbarList.reset(new TaskbarList(*this)); 932 #endif933 926 return 0; 934 927 } … … 936 929 void MainFrame::AddChildWindow( HWND hwndChild ) 937 930 { 938 #ifdef HAVE_WINDOWS_7_SDK939 931 taskbarList->RegisterTab( hwndChild ); 940 #endif941 932 } 942 933 943 934 void MainFrame::DeleteChildWindow( HWND hwndChild ) 944 935 { 945 #ifdef HAVE_WINDOWS_7_SDK946 936 taskbarList->UnregisterTab( hwndChild ); 947 #endif948 937 } 949 938 950 939 void MainFrame::ActivateChildWindow( HWND hwndChild ) 951 940 { 952 #ifdef HAVE_WINDOWS_7_SDK953 941 taskbarList->SetTabActivate( hwndChild ); 954 #endif955 942 } 956 943 957 944 void MainFrame::SetTabOrder( HWND hwndChild, HWND hwndInsertBefore ) 958 945 { 959 #ifdef HAVE_WINDOWS_7_SDK960 946 taskbarList->SetTabOrder( hwndChild, hwndInsertBefore ); 961 #endif962 947 } 963 948 964 949 void MainFrame::InvalidateBitmap( HWND hwndChild ) 965 950 { 966 #ifdef HAVE_WINDOWS_7_SDK967 951 taskbarList->InvalidateIconicBitmaps( hwndChild ); 968 #endif969 952 } 970 953
Note:
See TracChangeset
for help on using the changeset viewer.