- Timestamp:
- Dec 3, 1999, 6:30:17 PM (26 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/edit.cpp
r1944 r1960 1 /* $Id: edit.cpp,v 1.2 1 1999-12-02 16:34:43cbratschi Exp $ */1 /* $Id: edit.cpp,v 1.22 1999-12-03 17:30:15 cbratschi Exp $ */ 2 2 /* 3 3 * Edit control … … 17 17 /* CB: todo 18 18 - EN_ALIGN_LTR_EC, EN_ALIGN_RTL_EC -> undocumented notifications 19 - EM_SETIMESTATUS, EM_GETITEMSTATUS -> undocumented messages20 19 - text alignment for single and multi line (ES_LEFT, ES_RIGHT, ES_CENTER) 21 20 new in Win98, Win2k: for single line too … … 226 225 static void EDIT_EM_SetWordBreakProc(HWND hwnd, EDITSTATE *es, EDITWORDBREAKPROCA wbp); 227 226 static BOOL EDIT_EM_Undo(HWND hwnd, EDITSTATE *es); 228 static LRESULT EDIT_EM_SetI meStatus(HWND hwnd,EDITSTATE *es,WPARAM wParam,LPARAM lParam);229 static LRESULT EDIT_EM_GetI meStatus(HWND hwnd,EDITSTATE *es,WPARAM wParam,LPARAM lParam);227 static LRESULT EDIT_EM_SetIMEStatus(HWND hwnd,EDITSTATE *es,WPARAM wParam,LPARAM lParam); 228 static LRESULT EDIT_EM_GetIMEStatus(HWND hwnd,EDITSTATE *es,WPARAM wParam,LPARAM lParam); 230 229 /* 231 230 * WM_XXX message handlers … … 576 575 577 576 case EM_SETIMESTATUS: 578 result = EDIT_EM_SetI meStatus(hwnd,es,wParam,lParam);577 result = EDIT_EM_SetIMEStatus(hwnd,es,wParam,lParam); 579 578 break; 580 579 581 580 case EM_GETIMESTATUS: 582 result = EDIT_EM_GetI meStatus(hwnd,es,wParam,lParam);581 result = EDIT_EM_GetIMEStatus(hwnd,es,wParam,lParam); 583 582 break; 584 583 … … 2789 2788 } 2790 2789 2791 static LRESULT EDIT_EM_SetImeStatus(HWND hwnd,EDITSTATE *es,WPARAM wParam,LPARAM lParam) 2792 { 2793 //CB: undocumented! 2790 static LRESULT EDIT_EM_SetIMEStatus(HWND hwnd,EDITSTATE *es,WPARAM wParam,LPARAM lParam) 2791 { 2792 if (wParam == EMSIS_COMPOSITIONSTRING) 2793 { 2794 //CB: todo 2795 } 2794 2796 2795 2797 return 0; 2796 2798 } 2797 2799 2798 static LRESULT EDIT_EM_GetI meStatus(HWND hwnd,EDITSTATE *es,WPARAM wParam,LPARAM lParam)2799 { 2800 //CB: undocumented!2801 2802 return 0; 2800 static LRESULT EDIT_EM_GetIMEStatus(HWND hwnd,EDITSTATE *es,WPARAM wParam,LPARAM lParam) 2801 { 2802 //CB: todo 2803 2804 return 0; //default 2803 2805 } 2804 2806 -
trunk/src/user32/scroll.cpp
r1922 r1960 1 /* $Id: scroll.cpp,v 1.2 6 1999-12-01 18:23:28cbratschi Exp $ */1 /* $Id: scroll.cpp,v 1.27 1999-12-03 17:30:17 cbratschi Exp $ */ 2 2 /* 3 3 * Scrollbar control … … 85 85 86 86 if (!win32wnd) return 0; 87 //CB: I removed WS_* check due to problems, but it should work 87 88 if (nBar == SB_HORZ) 88 return (win32wnd->getStyle() & WS_HSCROLL) ? Win32BaseWindow::OS2ToWin32Handle(win32wnd->getHorzScrollHandle()):0;89 return /*(win32wnd->getStyle() & WS_HSCROLL) ?*/ Win32BaseWindow::OS2ToWin32Handle(win32wnd->getHorzScrollHandle())/*:0*/; 89 90 else 90 return (win32wnd->getStyle() & WS_VSCROLL) ? Win32BaseWindow::OS2ToWin32Handle(win32wnd->getVertScrollHandle()):0;91 return /*(win32wnd->getStyle() & WS_VSCROLL) ?*/ Win32BaseWindow::OS2ToWin32Handle(win32wnd->getVertScrollHandle())/*:0*/; 91 92 } 92 93
Note:
See TracChangeset
for help on using the changeset viewer.