uLib  User mode C/C++ extended API library for Win32 programmers.
Floating Point Window Data

Module Description

Support for storing floating point data in the cbWndExtra/cbClassExtra bytes.

Functions

void SetWindowFloat (HWND hWnd, int Index, float Value)
 
void SetWindowDouble (HWND hWnd, int Index, double Value)
 
float GetWindowFloat (HWND hWnd, int Index)
 
double GetWindowDouble (HWND hWnd, int Index)
 
void SetClassFloat (HWND hWnd, int gcl_Ix, float Value)
 
void SetClassDouble (HWND hWnd, int gcl_Ix, double Value)
 
float GetClassFloat (HWND hWnd, int gcl_Ix)
 
double GetClassDouble (HWND hWnd, int gcl_Ix)
 

Function Documentation

◆ SetWindowFloat()

void SetWindowFloat ( HWND  hWnd,
int  Index,
float  Value 
)

Float in window data.

Definition at line 177 of file UserUtil.cpp.

◆ SetWindowDouble()

void SetWindowDouble ( HWND  hWnd,
int  Index,
double  Value 
)

Double in window data.

Definition at line 191 of file UserUtil.cpp.

◆ GetWindowFloat()

float GetWindowFloat ( HWND  hWnd,
int  Index 
)

Float in window data.

Definition at line 184 of file UserUtil.cpp.

◆ GetWindowDouble()

double GetWindowDouble ( HWND  hWnd,
int  Index 
)

Double in window data.

Definition at line 203 of file UserUtil.cpp.

◆ SetClassFloat()

void SetClassFloat ( HWND  hWnd,
int  gcl_Ix,
float  Value 
)

Float in class data.

Definition at line 215 of file UserUtil.cpp.

◆ SetClassDouble()

void SetClassDouble ( HWND  hWnd,
int  gcl_Ix,
double  Value 
)

Double in class data.

Definition at line 229 of file UserUtil.cpp.

◆ GetClassFloat()

float GetClassFloat ( HWND  hWnd,
int  gcl_Ix 
)

Float in class data.

Definition at line 222 of file UserUtil.cpp.

◆ GetClassDouble()

double GetClassDouble ( HWND  hWnd,
int  gcl_Ix 
)

Double in class data.

Definition at line 241 of file UserUtil.cpp.