Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
abmGetControlBitmap function 
 
Remarks
Gets the image of the control in form of a HBITMAP.
Return value
Value
Meaning
 
 
0
The operation failed
value > 0
The HBITMAP of the control's image
Syntax
HBITMAP abmGetControlBitmap
HWND hWndBtn, 
short nImage 
); 
 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nImage
Numerical value that identifies the image that must be exported. Supported values are the following: 
Mnemonic constant
Value
Meaning
EXPORT_IMAGE_NORMAL
0
The image of the button in normal state.
EXPORT_IMAGE_MOUSEOVER
1
The image of the button when the mouse is over its surface.
EXPORT_IMAGE_PRESSED
2
The image of the button in pressed state.
EXPORT_IMAGE_FOCUS
3
The image of the button when it has the input focus.
EXPORT_IMAGE_DISABLED
4
The image of the button in disabled state.
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index