Messages of spinbox control
[SpinBox control]

Defines


Define Documentation

#define KS_SPINPOST   0x00010000

The flag of the spinbox control message.

Definition at line 133 of file spinbox.h.

#define SPM_DISABLEDOWN   0xF305

Disable the ability to scroll down.

 SPM_DISABLEDOWN

 wParam = 0;
 lParam = 0;
Returns:
Always be zero.

Definition at line 241 of file spinbox.h.

#define SPM_DISABLEUP   0xF304

Disable the ability to scroll up.

 SPM_DISABLEUP

 wParam = 0;
 lParam = 0;
Returns:
Always be zero.

Definition at line 226 of file spinbox.h.

#define SPM_ENABLEDOWN   0xF307

Enable the ability to scroll down.

 SPM_ENABLEDOWN

 wParam = 0;
 lParam = 0;
Returns:
Always be zero.

Definition at line 271 of file spinbox.h.

#define SPM_ENABLEUP   0xF306

Enable the ability to scroll up.

 SPM_ENABLEUP

 wParam = 0;
 lParam = 0;
Returns:
Always be zero.

Definition at line 256 of file spinbox.h.

#define SPM_GETCUR   0xF309

Gets the current position in the range of the spinbox.

 SPM_GETCUR

 wParam = 0;
 lParam = 0;
Returns:
The current position in the range of the spinbox.

Definition at line 304 of file spinbox.h.

#define SPM_GETINFO   0xF303

Gets the parameter infos of the spinbox.

 SPM_GETINFO
 PSPININFO info;

 wParam = 0;
 lParam = (LPARAM)info;
Parameters:
info Pointer to the SPININFO structure retreiving the spinbox info.
Returns:
Zero on success, -1 to indicate invalid parameter.
See also:
SPININFO

Definition at line 211 of file spinbox.h.

#define SPM_GETTARGET   0xF301

Gets the target window of the spinbox.

 SPM_GETTARGET

 wParam = 0;
 lParam = 0;
Returns:
The handle to the target window.

Definition at line 171 of file spinbox.h.

#define SPM_SETCUR   0xF308

Sets the current position in the range of the spinbox.

 SPM_SETCUR
 int pos;

 wParam = (WPARAM)pos;
 lParam = 0;
Parameters:
pos The current position to set.
Returns:
Zero on success, -1 to indicate invalid parameter.

Definition at line 289 of file spinbox.h.

#define SPM_SETINFO   0xF302

Sets the parameter information of the spinbox.

 SPM_SETINFO
 PSPININFO newinfo;

 wParam = 0;
 lParam = (LPARAM)newinfo;
Parameters:
newinfo Pointer to the SPININFO structure storing the new spinbox info.
Returns:
Zero on success, -1 to indicate invalid parameter.
See also:
SPININFO

Definition at line 191 of file spinbox.h.

#define SPM_SETTARGET   0xF300

Sets the target window of the spinbox.

When the user click the up/left or down/right arrow of the spin box, it will emulate the down and up of the key SCANCODE_CURSORBLOCKUP or SCANCODE_CURSORBLOCKDOWN, and post MSG_KEYDOWN and MSG_KEYUP message to the target window. Note that the shifit key status of the message will have the flag KS_SPINPOST set.

 SPM_SETTARGET
 HWND hTarget;

 wParam = 0;
 lParam = (LPARAM)hTarget;
Parameters:
hTarget Handle of the target window.
Returns:
Always be zero.

Definition at line 156 of file spinbox.h.

Generated on Thu Apr 7 15:58:36 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3