Posts: 262
Threads: 63
Joined: Nov 2005
I want to make a tab control like your dialog_with_tab_control but I want it to look like this.
I have tried hundreds of styles but I can not seem to make one. Can you help me make one?
Posts: 12,097
Threads: 142
Joined: Dec 2002
In QM tab controls also are like this. Where is the difference?
Posts: 262
Threads: 63
Joined: Nov 2005
The tab controls in QM are litter in color and have the orange highlight.
Posts: 12,097
Threads: 142
Joined: Dec 2002
To remove theme from a window or control use this:
SetWindowTheme hwnd L"" L""
or this function:
Function
NoVisualStyles
;/
function hwnd
;Removes window or control visual styles. It will look like on Windows 2000.
dll- uxtheme #SetWindowTheme hwnd @*pszSubAppName @*pszSubIdList
if(_winver>=0x501) SetWindowTheme(hwnd L"" L"")
Posts: 262
Threads: 63
Joined: Nov 2005
I get this
Maybe it is in how I am calling the function. Can you give me an example?
Posts: 12,097
Threads: 142
Joined: Dec 2002
NoVisualStyles id(3 hDlg)
Posts: 262
Threads: 63
Joined: Nov 2005
I thought I tried that. That is what I get for thinking.
Thank You!