Changeset 327 for trunk/src/user32/new/windlg.cpp
- Timestamp:
- Jul 18, 1999, 3:57:48 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/windlg.cpp
r325 r327 1 /* $Id: windlg.cpp,v 1. 1 1999-07-18 10:39:52 sandervlExp $ */1 /* $Id: windlg.cpp,v 1.2 1999-07-18 13:57:48 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 dialog apis for OS/2 … … 9 9 * 10 10 */ 11 #include <wchar.h> 11 12 #include <os2win.h> 12 13 #include <misc.h> … … 89 90 //****************************************************************************** 90 91 //****************************************************************************** 91 BOOL WIN32API SetDlgItemInt( HWND arg1, int arg2, UINT arg3, BOOL arg4) 92 { 92 BOOL WIN32API SetDlgItemInt( HWND hwndDlg, int idControl, UINT uValue, BOOL fSigned) 93 { 94 char buf[30]; 95 93 96 #ifdef DEBUG 94 97 WriteLog("USER32: SetDlgItemInt\n"); 95 98 #endif 96 //get item text and translate to int 97 return O32_SetDlgItemInt(arg1, arg2, arg3, arg4); 99 if (fSigned) sprintf(buf,"%u",uValue); 100 else sprintf(buf,"%d",uValue); 101 102 return SetDlgItemTextA(hwndDlg,idControl,buf); 98 103 } 99 104 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.