uLib
User mode C/C++ extended API library for Win32 programmers.
|
Floating point window text functions.
Functions | |
double | GetWndReal (HWND hCtl) |
double | GetDlgItemReal (HWND hDlg, UINT Id) |
bool | SetWndReal (HWND hCtl, double Value, BYTE nDeci, CSTR Suffix=NULL) |
bool | SetDlgItemReal (HWND hDlg, UINT Id, double Value, BYTE nDeci, CSTR Suffix=NULL) |
double GetWndReal | ( | HWND | hCtl | ) |
GetWndReal uses GetWindowText and _tcstod to return a real nr.
In case of an error, the return value is HUGE_VAL.
Definition at line 1243 of file UserUtil.cpp.
double GetDlgItemReal | ( | HWND | hDlg, |
UINT | Id | ||
) |
See GetWndReal().
Definition at line 1249 of file UserUtil.cpp.
SetWndReal uses stprintf_s and _SetWindowText() to format a real Value into a control.
Suffix, if specified, is added to the text.
Definition at line 1254 of file UserUtil.cpp.
See SetWndReal().
Definition at line 1262 of file UserUtil.cpp.