hi Antonio,
Antonio Linares wrote:
Please try it this way:
C5_OpenThemeData( oTabs:hWnd, "SysTabControl32" )
thx for Answer
as i can say "Name" for Theme come from TMSCHEMA.H
"Button"
"Rebar"
"Toolbar"
"Status"
"Menu"
"ListView"
"Progress"
"Tab"
"Trackbar"
"Tooltips"
"TreeView"
"Spin"
"Page"
"Scrollbar"
"Edit"
"ComboBox"
"Taskbar Clock"
"Tray Notify"
"TaskBar"
"TaskBand"
"StartPanel"
"ExplorerBar"
"TaskBand"
but only "Button" is used and all other Controls have no "visual Style" under Fivewin
---
as also "other C5_*" Function also are need like C5_DrawThemeBackground() for Control, so i need to re-write Control if i want to use "visual Style"
missing (for Ownerdraw)
IsThemeBackgroundPartiallyTransparent()
DrawThemeParentBackground()
Code: Select all | Expand
nRet := @UxTheme:IsThemeBackgroundPartiallyTransparent(::hTheme, BP_PUSHBUTTON, iStateId)
IF .NOT. EMPTY(nRet)
nRet := @UxTheme:DrawThemeParentBackground(::hButton,::oDrawItemStruct:hDC, ::oDrawItemStruct:rcItem)
ENDIF
nRet := @UxTheme:DrawThemeBackground(::hTheme,;
::oDrawItemStruct:hDC ,;
BP_PUSHBUTTON ,;
iStateId ,;
::oDrawItemStruct:rcItem,;
0 )