Changeset 11685
- Timestamp:
- Oct 1, 1999, 12:15:23 PM (26 years ago)
- Location:
- tags/trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/user32/combo.cpp ¶
r11541 r11685 1 /* $Id: combo.cpp,v 1. 1 1999-09-15 23:18:48sandervl Exp $ */1 /* $Id: combo.cpp,v 1.2 1999-10-01 10:15:22 sandervl Exp $ */ 2 2 /* 3 3 * Combo controls … … 1225 1225 HWND COMBO_GetLBWindow( HWND hwnd ) 1226 1226 { 1227 LPHEADCOMBO lphc = CB_GETPTR(hwnd); 1228 if( lphc ) return lphc->hWndLBox; 1227 LPHEADCOMBO lphc = NULL; 1228 LONG ptr = GetInfoPtr(hwnd); 1229 if(ptr) 1230 { 1231 lphc = (*(LPHEADCOMBO*)(ptr)); 1232 if( lphc ) return lphc->hWndLBox; 1233 } 1229 1234 return 0; 1230 1235 } … … 1756 1761 WPARAM wParam, LPARAM lParam ) 1757 1762 { 1758 LPHEADCOMBO lphc = CB_GETPTR(hwnd); 1763 LPHEADCOMBO lphc = NULL; 1764 LONG ptr = GetInfoPtr(hwnd); 1765 1766 if(ptr) 1767 lphc = (*(LPHEADCOMBO*)(ptr)); 1759 1768 1760 1769 //TRACE("[%04x]: msg %s wp %08x lp %08lx\n", -
TabularUnified tags/trunk/src/user32/msgbox.cpp ¶
r11572 r11685 1 /* $Id: msgbox.cpp,v 1. 2 1999-09-19 08:24:47sandervl Exp $ */1 /* $Id: msgbox.cpp,v 1.3 1999-10-01 10:15:23 sandervl Exp $ */ 2 2 /* 3 3 * Win32 message box function for OS/2 … … 11 11 #include <os2win.h> 12 12 #include <misc.h> 13 #include "win32wnd.h" 14 13 15 /***************************************************************************** 14 16 * Name : int WIN32API MessageBoxExA … … 142 144 { 143 145 dprintf(("USER32: MessageBoxA %s %s\n", lpszText, lpszTitle)); 146 hwndOwner = Win32Window::Win32ToOS2Handle(hwndOwner); 144 147 return(O32_MessageBox(hwndOwner, lpszText, lpszTitle, fuStyle)); 145 148 }
Note:
See TracChangeset
for help on using the changeset viewer.