Changeset 9526 for trunk/src/user32/win32dlg.cpp
- Timestamp:
- Dec 18, 2002, 3:04:24 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32dlg.cpp
r9523 r9526 1 /* $Id: win32dlg.cpp,v 1. 79 2002-12-18 12:28:06sandervl Exp $ */1 /* $Id: win32dlg.cpp,v 1.80 2002-12-18 14:04:24 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Dialog Code for OS/2 … … 1020 1020 HWND hwndPrev = GetFocus(); 1021 1021 1022 #ifdef __WIN32OS2__ 1023 if(hwndPrev == hwndCtrl) { 1024 //do nothing 1025 //Acrobat Reader 4.05 opening screen (when EULA has not been shown 1026 //local machine/software/adobe/acrobat reader/4.0/adobeviewer/EULA = 0) 1027 //All text selected in edit control because focus set when the control 1028 //already has focus. 1029 //Not entirely sure this is 100% correct, but at least now it behaves 1030 //like AR 4.05 in Windows NT 4.0 SP6 1031 return; 1032 } 1033 #endif 1034 1022 1035 if (IsChild( hwndPrev )) 1023 1036 { … … 1026 1039 } 1027 1040 if (::SendMessageA(hwndCtrl, WM_GETDLGCODE, 0, 0 ) & DLGC_HASSETSEL) 1028 ::SendMessageA(hwndCtrl, EM_SETSEL, FALSE, MAKELONG( 0, -1 ));1041 ::SendMessageA(hwndCtrl, EM_SETSEL, 0, -1 ); 1029 1042 SetFocus( hwndCtrl ); 1030 1043 }
Note:
See TracChangeset
for help on using the changeset viewer.