Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
UseAntialiasing property 
 
Remarks
Enables/disables the use of anti-aliasing algorithms for rendering the button surface (doesn't affect text rendering). 
Disabling anti-aliasing can slightly improve the button rendering speed but will make the button loose in rendering quality; below you can see a sample of two identical buttons, with the left one having anti-aliasing enabled and the right one having anti-aliasing disabled. 
 
If you take a close look to the picture above you will see that the button on the right has "jagged" borders.
Get / Set functions
 
short abmGetUseAntialiasing
HWND hWndBtn 
); 
 
void abmSetUseAntialiasing
HWND hWndBtn
short bUseAntialias 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
bUseAntialias
Anti-aliasing boolean value. Supported values are the following: 
Value
Meaning
FALSE
No anti-aliasing is applied.
TRUE (default)
Anti-aliasing is applied.
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_USEANTIALIAS
newValue
Same meaning of the bUseAntialias parameter described before
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index