disable "visual Style" for "some" Controls

disable "visual Style" for "some" Controls

Postby Jimmy » Sun Nov 27, 2022 6: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
User avatar
Jimmy
 
Posts: 1699
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: disable "visual Style" for "some" Controls

Postby Antonio Linares » Mon Nov 28, 2022 11:50 am

Dear Jimmy,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41858
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: disable "visual Style" for "some" Controls

Postby Jimmy » Mon Nov 28, 2022 6:01 pm

hi Antonio,
Antonio Linares wrote:Please try it using SetWindowTheme( oCheckbox:hWnd, "", "" )

YES, now i got Dark-Mode for CHECKBOX :D
Image
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1699
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: disable "visual Style" for "some" Controls

Postby Antonio Linares » Tue Nov 29, 2022 7:59 am

very good! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41858
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 62 guests