Changeset 1336 for trunk/src/user32/user32.cpp
- Timestamp:
- Oct 17, 1999, 5:46:10 PM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/user32.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/user32.cpp
r1299 r1336 1 /* $Id: user32.cpp,v 1.4 2 1999-10-14 19:31:31sandervl Exp $ */1 /* $Id: user32.cpp,v 1.43 1999-10-17 15:46:08 sandervl Exp $ */ 2 2 3 3 /* … … 1373 1373 SHORT WIN32API GetKeyState( int nVirtKey) 1374 1374 { 1375 #ifdef DEBUG 1376 WriteLog("USER32: GetKeyState %d\n", nVirtKey); 1375 //SvL: Hehe. 32 MB logfile for Opera after a minute. 1376 #ifdef DEBUG 1377 // WriteLog("USER32: GetKeyState %d\n", nVirtKey); 1377 1378 #endif 1378 1379 return O32_GetKeyState(nVirtKey); … … 1870 1871 //****************************************************************************** 1871 1872 //****************************************************************************** 1872 BOOL WIN32API EndDeferWindowPos( HDWP hWinPosInfo)1873 {1874 #ifdef DEBUG1875 WriteLog("USER32: EndDeferWindowPos\n");1876 #endif1877 return O32_EndDeferWindowPos(hWinPosInfo);1878 }1879 //******************************************************************************1880 //******************************************************************************1881 HWND WIN32API FindWindowW( LPCWSTR lpClassName, LPCWSTR lpWindowName)1882 {1883 char *astring1 = UnicodeToAsciiString((LPWSTR)lpClassName);1884 char *astring2 = UnicodeToAsciiString((LPWSTR)lpWindowName);1885 HWND rc;1886 1887 #ifdef DEBUG1888 WriteLog("USER32: FindWindowW\n");1889 #endif1890 rc = O32_FindWindow(astring1, astring2);1891 FreeAsciiString(astring1);1892 FreeAsciiString(astring2);1893 return rc;1894 }1895 //******************************************************************************1896 //******************************************************************************1897 1873 HWND WIN32API GetForegroundWindow(void) 1898 1874 { … … 1938 1914 //****************************************************************************** 1939 1915 //****************************************************************************** 1940 #if 01941 int WIN32API GetUpdateRgn( HWND hWnd, HRGN hRgn, BOOL bErase)1942 {1943 #ifdef DEBUG1944 WriteLog("USER32: GetUpdateRgn\n");1945 #endif1946 hWnd = Win32Window::Win32ToOS2Handle(hWnd);1947 1948 return O32_GetUpdateRgn(hWnd,hRgn,bErase);1949 }1950 #endif1951 1916 /***************************************************************************** 1952 1917 * Name : int WIN32API GetWindowRgn … … 2288 2253 BOOL WIN32API ScreenToClient (HWND hwnd, LPPOINT pt) 2289 2254 { 2290 #ifdef DEBUG2291 WriteLog("USER32: ScreenToClient\n");2292 #endif2293 2255 Win32BaseWindow *wnd; 2294 2256 PRECT rcl; 2257 2258 dprintf(("ScreenToClient %x (%d,%d)\n", hwnd, pt->x, pt->y)); 2295 2259 2296 2260 if (!hwnd) return (TRUE); … … 2302 2266 OSLibWinMapWindowPoints (OSLIB_HWND_DESKTOP, wnd->getOS2WindowHandle(), (OSLIBPOINT *)pt, 1); 2303 2267 pt->y = (rcl->bottom - rcl->top) - pt->y; 2268 dprintf(("ScreenToClient %x returned (%d,%d)\n", hwnd, pt->x, pt->y)); 2304 2269 return (TRUE); 2305 2270 } 2306 2271 2307 /* Scroll Bar Functions */2308 2309 #if 02310 BOOL WIN32API ScrollDC( HDC arg1, int arg2, int arg3, const RECT * arg4, const RECT * arg5, HRGN arg6, PRECT arg7)2311 {2312 #ifdef DEBUG2313 WriteLog("USER32: ScrollDC\n");2314 #endif2315 return O32_ScrollDC(arg1, arg2, arg3, arg4, arg5, arg6, arg7);2316 }2317 #endif2318 2319 2272 /* Icon Functions */ 2320 2321 2273 int WIN32API LookupIconIdFromDirectory(PBYTE presbits, BOOL fIcon) 2322 2274 {
Note:
See TracChangeset
for help on using the changeset viewer.
