Changeset 5713 for trunk/src/user32/oslibwin.cpp
- Timestamp:
- May 15, 2001, 4:31:40 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibwin.cpp
r5685 r5713 1 /* $Id: oslibwin.cpp,v 1.9 2 2001-05-11 08:39:43sandervl Exp $ */1 /* $Id: oslibwin.cpp,v 1.93 2001-05-15 14:31:38 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 153 153 BOOL OSLibWinAlarm(HWND hwndDeskTop,ULONG flStyle) 154 154 { 155 return WinAlarm(hwndDeskTop,flStyle);155 return WinAlarm(hwndDeskTop,flStyle); 156 156 } 157 157 //****************************************************************************** … … 159 159 APIRET OSLibDosBeep(ULONG freg,ULONG dur) 160 160 { 161 return DosBeep(freg,dur);161 return DosBeep(freg,dur); 162 162 } 163 163 //****************************************************************************** … … 165 165 HWND OSLibWinQueryFocus(HWND hwndDeskTop) 166 166 { 167 return WinQueryFocus(hwndDeskTop);167 return WinQueryFocus(hwndDeskTop); 168 168 } 169 169 //****************************************************************************** … … 171 171 HWND OSLibWinWindowFromID(HWND hwndParent,ULONG id) 172 172 { 173 return WinWindowFromID(hwndParent,id);173 return WinWindowFromID(hwndParent,id); 174 174 } 175 175 //****************************************************************************** … … 177 177 BOOL OSLibWinSetFocus(HWND hwndDeskTop,HWND hwndNewFocus, BOOL activate) 178 178 { 179 return WinFocusChange (hwndDeskTop, hwndNewFocus, activate ? FC_NOLOSEACTIVE : 0);179 return WinFocusChange (hwndDeskTop, hwndNewFocus, activate ? 0 : FC_NOSETACTIVE); 180 180 } 181 181 //****************************************************************************** … … 183 183 BOOL OSLibWinIsChild (HWND hwnd, HWND hwndOf) 184 184 { 185 return WinIsChild (hwnd, hwndOf);185 return WinIsChild (hwnd, hwndOf); 186 186 } 187 187 //****************************************************************************** … … 189 189 ULONG OSLibGetWindowHeight(HWND hwnd) 190 190 { 191 RECTL rect;192 193 return (WinQueryWindowRect(hwnd,&rect)) ? rect.yTop-rect.yBottom:0;191 RECTL rect; 192 193 return (WinQueryWindowRect(hwnd,&rect)) ? rect.yTop-rect.yBottom:0; 194 194 } 195 195 //****************************************************************************** … … 197 197 LONG OSLibWinQuerySysValue(LONG iSysValue) 198 198 { 199 return WinQuerySysValue(HWND_DESKTOP,iSysValue);199 return WinQuerySysValue(HWND_DESKTOP,iSysValue); 200 200 } 201 201 //****************************************************************************** … … 203 203 ULONG OSLibWinQueryDlgItemText(HWND hwndDlg,ULONG idItem,LONG cchBufferMax,char* pchBuffer) 204 204 { 205 return WinQueryDlgItemText(hwndDlg,idItem,cchBufferMax,pchBuffer);205 return WinQueryDlgItemText(hwndDlg,idItem,cchBufferMax,pchBuffer); 206 206 } 207 207 //****************************************************************************** … … 209 209 BOOL OSLibWinSetDlgItemText(HWND hwndDlg,ULONG idItem,char* pszText) 210 210 { 211 return WinSetDlgItemText(hwndDlg,idItem,pszText);211 return WinSetDlgItemText(hwndDlg,idItem,pszText); 212 212 } 213 213 //****************************************************************************** … … 215 215 BOOL OSLibWinQueryPointerPos(PPOINT pptlPoint) 216 216 { 217 return WinQueryPointerPos(HWND_DESKTOP,(PPOINTL)pptlPoint);217 return WinQueryPointerPos(HWND_DESKTOP,(PPOINTL)pptlPoint); 218 218 } 219 219 //****************************************************************************** … … 221 221 BOOL OSLibWinSetPointerPos(int x, int y) 222 222 { 223 return WinSetPointerPos(HWND_DESKTOP, x, y);223 return WinSetPointerPos(HWND_DESKTOP, x, y); 224 224 } 225 225 //****************************************************************************** … … 227 227 HWND OSLibWinQueryWindow(HWND hwnd, ULONG lCode) 228 228 { 229 return WinQueryWindow(hwnd, lCode);229 return WinQueryWindow(hwnd, lCode); 230 230 } 231 231 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.