FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour disable "visual Style" for "some" Controls
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
disable "visual Style" for "some" Controls
Posted: Sun Nov 27, 2022 06:01 PM
hi,

for Dark-Mode i like to disable "visual Style" of CHECKBOX while Caption is always BLACK

is there a Function under Fivewin which i can use for it :?:
greeting,

Jimmy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: disable "visual Style" for "some" Controls
Posted: Mon Nov 28, 2022 11:50 AM

Dear Jimmy,

Please try it using SetWindowTheme( oCheckbox:hWnd, "", "" )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: disable "visual Style" for "some" Controls
Posted: Mon Nov 28, 2022 06:01 PM
hi Antonio,
Antonio Linares wrote:Please try it using SetWindowTheme( oCheckbox:hWnd, "", "" )
YES, now i got Dark-Mode for CHECKBOX :D
greeting,

Jimmy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: disable "visual Style" for "some" Controls
Posted: Tue Nov 29, 2022 07:59 AM
very good! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion