Changeset 7095 for trunk/src/user32/windlg.cpp
- Timestamp:
- Oct 17, 2001, 4:30:10 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/windlg.cpp
r7038 r7095 1 /* $Id: windlg.cpp,v 1.2 6 2001-10-13 00:49:28sandervl Exp $ */1 /* $Id: windlg.cpp,v 1.27 2001-10-17 14:30:10 sandervl Exp $ */ 2 2 /* 3 3 * Win32 dialog apis for OS/2 … … 552 552 /* No ctrl specified -> start from the beginning */ 553 553 if (!(hwndCtrl = GetWindow( hwndDlg, GW_CHILD ))) return 0; 554 #ifdef __WIN32OS2__555 if (fPrevious) hwndCtrl = GetWindow( hwndCtrl, GW_HWNDLASTCHILD );556 #else557 554 if (fPrevious) hwndCtrl = GetWindow( hwndCtrl, GW_HWNDLAST ); 558 #endif559 555 } 560 556 561 557 retvalue = hwndCtrl; 562 #ifdef __WIN32OS2__563 hwnd = GetWindow( hwndCtrl, GW_HWNDNEXTCHILD );564 #else565 558 hwnd = GetWindow( hwndCtrl, GW_HWNDNEXT ); 566 #endif567 559 while (1) 568 560 { … … 572 564 HWND tmp; 573 565 566 hwnd = GetWindow( hwndDlg, GW_CHILD ); 574 567 #ifdef __WIN32OS2__ 575 hwnd = GetWindow( hwndDlg, GW_HWNDFIRSTCHILD );576 568 if(!hwnd) break; 577 578 for (tmp = hwnd; tmp; tmp = GetWindow( tmp, GW_HWNDNEXTCHILD ) ) 579 #else 580 hwnd = GetWindow( hwndDlg, GW_CHILD ); 569 #endif 581 570 for (tmp = hwnd; tmp; tmp = GetWindow( tmp, GW_HWNDNEXT ) ) 582 #endif583 571 { 584 572 if (GetWindowLongW( tmp, GWL_STYLE ) & WS_GROUP) hwnd = tmp; … … 592 580 if (!fPrevious) break; 593 581 } 594 #ifdef __WIN32OS2__595 hwnd = GetWindow( hwnd, GW_HWNDNEXTCHILD );596 #else597 582 hwnd = GetWindow( hwnd, GW_HWNDNEXT ); 598 #endif599 583 } 600 584 return retvalue;
Note:
See TracChangeset
for help on using the changeset viewer.