User Tools

Site Tools


setlinesembossed.htm
Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > MenuStyleManager Class > MenuStyleManager Methods >====== SetLinesEmbossed(Set embossed/3D line style) ====== Previous pageReturn to chapter overviewNext page

SetLinesEmbossed ( on )

On A BYTE value that specifies if menu lines drawn are embossed.

blk2blue.jpg

The SetLinesEmbossed method is use to draw an embossed style (3D effect) for vertical lines and separators. The on value must be TRUE(1).

Return Value:     None

Implementation:

The SetLinesEmbossed method should be applied prior to the ApplyTheme method.

Alternatively, you can also use the SetLineMode method to achieve the same result.

Example:

MenuStyleMgr.IgnoreWindowsTheme(TRUE)

MenuStyleMgr.SetLinesEmbossed(TRUE)

MenuStyleMgr.ApplyTheme()

MenuStyleMgr.Refresh(TRUE)

See Also: ApplyTheme(Set Menu Colors and Indicators), SetLineMode (Set Menu Line Styles) , GetLinesEmbossed(Get Line Embossed Mode)

setlinesembossed.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1