Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
FocusMode property 
 
Remarks
Specifies how the control renders its surface when it receives the input focus.
Get / Set functions
 
short abmGetFocusMode
HWND hWndBtn 
); 
 
void abmSetFocusMode
HWND hWndBtn
short nMode 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nMode
Specifies the focus mode. Supported values are the following: 
Value
Meaning
FOCUS_NONE (0)
The control does not display that it has received the input focus.
FOCUS_BORDER (1)
The control draws a black border around its caption text.
FOCUS_COLOR (2)
The control render its surface using the color defined through the BackColorFocus property
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_FOCUS_MODE
newValue
Same meaning of the nMode parameter described before
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index