Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
PictureKeepRatio property 
 
Remarks
Specifies if it is necessary to keep the aspect ratio of a picture bigger that the control. Applies to the Picture, PicturePressed, PictureMouseOver and PictureDisabled properties .
Get / Set functions
 
BOOL abmGetPictureKeepRatio
HWND hWndBtn 
); 
 
void abmSetPictureKeepRatio
HWND hWndBtn
BOOL bKeepRatio 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
bKeepRatio
Specifies if the pictures will keep their aspect ratio. Supported values are the following: 
Value
Meaning
FALSE
Pictures won't keep their aspect ratio.
TRUE (default)
Pictures will keep their aspect ratio.
Container function
 
short abmContainerSetting
HWND hWndContainer
short nSetting
long newValue 
); 
 
Parameters
Description
hWndContainer
Windows handle associated to the button container.
nSetting
Must be set to SET_PICT_KEEP_RATIO
newValue
Same meaning of the bKeepRatio parameter described before
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index