Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Messages of spinbox control
[SpinBox control]

Defines


Define Documentation

#define KS_SPINPOST   0x00010000
 

The flag of the spinbox control message.

Definition at line 140 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 248 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 233 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 278 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 263 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 311 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 218 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 178 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 296 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 198 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 163 of file spinbox.h.


Generated on Mon Jun 26 14:21:40 2006 for MiniGUI V2.0.3 API Reference by  doxygen 1.4.2