Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
TextureMode property 
 
Remarks
Specifies the mode used to display a texture, previously set through the Texture property over the button surface.
Get / Set functions
 
short abmGetTextureMode
HWND hWndBtn 
); 
 
void abmSetTextureMode
HWND hWndBtn
short nMode 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nMode
Specifies the texture mode applied. Supported values are the following: 
Mnemonic constant
Value
Meaning
TEXTURE_NONE
0
No texture displayed: this setting is useful when you want to hide the available texture without removing the current texture settings. 
TEXTURE_WHOLE
1 (default)
The texture covers completely the button surface. 
TEXTURE_OUTSIDE
2
The texture is displayed only on the external part of the button surface when a special effect (see the SpecialEffect property) is applied. 
TEXTURE_INSIDE
3
The texture is displayed only on the internal part of the button surface when a special effect (see the SpecialEffect property) 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_TEXTURE_MODE
newValue
Same meaning of the nMode parameter described before
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index