- Timestamp:
- Jan 29, 2011, 6:08:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/abdev/src/MainFrame.cpp
r778 r783 294 294 if (taskbarList) 295 295 { 296 taskbarList->SetTabOrder(*mapAt(hwndChild),297 hwndInsertBefore298 ? static_cast<HWND>(*mapAt(hwndInsertBefore))299 : 0);296 taskbarList->SetTabOrder(*mapAt(hwndChild), 297 hwndInsertBefore 298 ? static_cast<HWND>(*mapAt(hwndInsertBefore)) 299 : 0); 300 300 } 301 301 } … … 929 929 void MainFrame::AddChildWindow( HWND hwndChild ) 930 930 { 931 taskbarList->RegisterTab( hwndChild ); 931 if (taskbarList) 932 { 933 taskbarList->RegisterTab( hwndChild ); 934 } 932 935 } 933 936 934 937 void MainFrame::DeleteChildWindow( HWND hwndChild ) 935 938 { 936 taskbarList->UnregisterTab( hwndChild ); 939 if (taskbarList) 940 { 941 taskbarList->UnregisterTab( hwndChild ); 942 } 937 943 } 938 944 939 945 void MainFrame::ActivateChildWindow( HWND hwndChild ) 940 946 { 941 taskbarList->SetTabActivate( hwndChild ); 947 if (taskbarList) 948 { 949 taskbarList->SetTabActivate( hwndChild ); 950 } 942 951 } 943 952 944 953 void MainFrame::SetTabOrder( HWND hwndChild, HWND hwndInsertBefore ) 945 954 { 946 taskbarList->SetTabOrder( hwndChild, hwndInsertBefore ); 955 if (taskbarList) 956 { 957 taskbarList->SetTabOrder( hwndChild, hwndInsertBefore ); 958 } 947 959 } 948 960 949 961 void MainFrame::InvalidateBitmap( HWND hwndChild ) 950 962 { 951 taskbarList->InvalidateIconicBitmaps( hwndChild ); 963 if (taskbarList) 964 { 965 taskbarList->InvalidateIconicBitmaps( hwndChild ); 966 } 952 967 } 953 968
Note:
See TracChangeset
for help on using the changeset viewer.