Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
abmContainerFontSetting function 
 
Remarks
Given a container, changes the given text font for all the buttons inside the container itself:. 
This function is the "Container Level mode" function that matches the "Button Level mode" function abmSetFontText
Return value
Value
Meaning
 
 
-1
The operation failed, probably because the given container doesn't exist.
0
The operation was successful
Syntax
short abmContainerFontSetting
HWND hWndContainer
short nPosition
void *pLogFont 
); 
 
Parameters
Description
hWndContainer
Windows handle associated to the buttons container.
nPosition
The numeric value of the text whose font settings will be changed. Supported values are the following: 
Mnemonic constant
Meaning
TEXTPOS_CAPTION (0)
Sets the caption text font settings
TEXTPOS_LT (1)
Sets the Left-Top text font settings
TEXTPOS_CT (2)
Sets the Center-Top text font settings
TEXTPOS_RT (3)
Sets the Right-Top text font settings
TEXTPOS_LM (4)
Sets the Left-Middle text font settings
TEXTPOS_RM (5)
Sets the Right-Middle text font settings
TEXTPOS_LB (6)
Sets the Left-Bottom text font settings
TEXTPOS_CB (7)
Sets the Center-Bottom text font settings
TEXTPOS_RB (8)
Sets the Right-Bottom text font settings
pLogFont
Address of the the LOGFONT structure that contains the new font settings.
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index