Changeset 835 for trunk/src/user32/new/windlgmsg.cpp
- Timestamp:
- Sep 5, 1999, 5:53:10 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/windlgmsg.cpp
r833 r835 1 /* $Id: windlgmsg.cpp,v 1. 2 1999-09-05 12:03:34sandervl Exp $ */1 /* $Id: windlgmsg.cpp,v 1.3 1999-09-05 15:53:10 sandervl Exp $ */ 2 2 /* 3 3 * Win32 dialog message APIs for OS/2 … … 111 111 } 112 112 else if (dlgCode & 113 113 (DLGC_DEFPUSHBUTTON | DLGC_UNDEFPUSHBUTTON)) 114 114 { 115 115 /* send command message as from the control */ … … 126 126 } 127 127 RetVal = TRUE; 128 128 WIN_ReleaseWndPtr(wndPtr); 129 129 break; 130 130 } 131 131 } 132 133 } 134 135 136 137 132 hwndNext = GetWindow( hwndControl, GW_CHILD ); 133 } 134 else 135 { 136 hwndNext = 0; 137 } 138 138 WIN_ReleaseWndPtr(wndPtr); 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 139 if (!hwndNext) 140 { 141 hwndNext = GetWindow( hwndControl, GW_HWNDNEXT ); 142 } 143 while (!hwndNext) 144 { 145 hwndControl = GetParent( hwndControl ); 146 if (hwndControl == hwndDlg) 147 { 148 if(hwnd==hwndDlg){ /* prevent endless loop */ 149 hwndNext=hwnd; 150 break; 151 } 152 hwndNext = GetWindow( hwndDlg, GW_CHILD ); 153 } 154 else 155 { 156 hwndNext = GetWindow( hwndControl, GW_HWNDNEXT ); 157 } 158 } 159 159 hwndControl = hwndNext; 160 160 } … … 184 184 if ((message != WM_KEYDOWN) && 185 185 (message != WM_SYSCHAR) && 186 186 (message != WM_CHAR)) 187 187 return FALSE; 188 188
Note:
See TracChangeset
for help on using the changeset viewer.