Search found 149 matches: getsyscolor

Return to advanced search

Re: Readonly and/or disable GETs background color

Si no se especifica lDisColors en false ni bColor, el color del panel disable lo genera con nClrP := GetSysColor( COLOR_WINDOW ) Yes, but I was referring to the fact that the background color of the readonly GETs is set inside the paint event, if I read the TGet source code ...
by Enrico Maria Giordano
Fri Aug 05, 2022 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 862

Re: Readonly and/or disable GETs background color

... can be change only using paint event? EMG Si no se especifica lDisColors en false ni bColor, el color del panel disable lo genera con nClrP := GetSysColor( COLOR_WINDOW )
by cmsoft
Fri Aug 05, 2022 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 862

Re: Colorized cell of xbrowse

... function ChangeColor( oBrw, n ) return {|| { CLR_BLACK, ColorCell( oBrw:aRow[ n ]:VALUE ) } } static function ColorCell( num ) local nColor := GetSysColor( 15 ) If num= 0 nColor := CLR_HGREEN elseif num >0 .and. num < 8 nColor := CLR_WHITE elseif num >9 nColor := CLR_HRED endif return ...
by FranciscoA
Mon Mar 07, 2022 2:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorized cell of xbrowse
Replies: 13
Views: 1277

Re: Colorized cell of xbrowse

... function ChangeColor( oBrw, n ) return {|| { CLR_BLACK, ColorCell( oBrw:aRow[ n ]:VALUE ) } } static function ColorCell( num ) local nColor := GetSysColor( 15 ) If num= 0 nColor := CLR_HGREEN elseif num >0 .and. num < 8 nColor := CLR_WHITE elseif num >9 nColor := CLR_HRED endif return ...
by Silvio.Falconi
Sun Mar 06, 2022 4:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorized cell of xbrowse
Replies: 13
Views: 1277

Colorized cell of xbrowse

... function ChangeColor( oBrw, n ) return {|| { CLR_BLACK, ColorCell( oBrw:aRow[ n ]:VALUE ) } } static function ColorCell( num ) local nColor := GetSysColor( 15 ) //for demo local nColor1 := CLR_HGREEN local nColor2 := CLR_HRED local ncolor3 := GetSysColor( 15 ) /* IF num<3 nColor :=nColor1 ...
by Silvio.Falconi
Fri Mar 04, 2022 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorized cell of xbrowse
Replies: 13
Views: 1277

Re: New FTDN November/Noviembre (FWH 21.11)

... Es recomendable leer la documentación de Windows sobre las funciones GetSysColor(n) y SetSysColors(). https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getsyscolor https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setsyscolors ...
by Antonio Linares
Tue Nov 30, 2021 10:38 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre (FWH 21.11)
Replies: 2
Views: 1010

New FTDN November/Noviembre (FWH 21.11)

... http://forums.fivetechsupport.com/viewtopic.php?f=3&t=37922&sid=54ad898a54718ceb4499289b28c0db17 Also read Windows documentation on GetSysColor(n) and SetSysColors() https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getsyscolor https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setsyscolors ...
by Antonio Linares
Tue Nov 30, 2021 7:19 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre (FWH 21.11)
Replies: 2
Views: 1010

Re: Dark mode

... & Frame" in Registry you will find it under Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\DWMAccentColor --- you can GetSysColor() and save Value before use SetSysColor() i do load Information like Color from DBF or INI File at Start
by Jimmy
Wed Nov 17, 2021 10:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dark mode
Replies: 20
Views: 2925

Re: Xbrowse : Setup configuration file

... ACTION (color2:=ChooseColor(),restorestate2(self,color1,color2)) MENUITEM "恢复默认颜色" ACTION (restorestate2(self,CLR_BLACK,GetSysColor( 5 ))) end if ::cid<>nil MENUITEM "保存显示格式" ACTION savestate(self) end separator MENUITEM "说明帮助" ACTION help(::ownd:ccaption) ...
by ShumingWang
Sat Apr 17, 2021 12:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : Setup configuration file
Replies: 5
Views: 1217

Re: transparent on a say

now I resolved set color of say with CLR_BLUE, GetSysColor( 15 ) But I think is wrong

Not wrong. This is also one way. Better is COLOR CLR_BLUE, oDlg:nClrPane.
But this works only when the dialog has a plain background color.

Say ..with lTransparent := .t. should work.
by nageswaragunupudi
Sun Apr 12, 2020 1:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: transparent on a say
Replies: 7
Views: 979

Re: transparent on a say

... if I insert a say then make not trasparency https://i.postimg.cc/DfNFML6T/h.png now I resolved set color of say with CLR_BLUE, GetSysColor( 15 ) But I think is wrong
by Silvio.Falconi
Sat Apr 11, 2020 7:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: transparent on a say
Replies: 7
Views: 979

transparent on a say

... was assigned to the controls say I made REDEFINE SAY oSaySearch[1] Prompt "Cognome" ID 4001 OF oItem:oDlgChild COLOR CLR_BLUE, GetSysColor( 15 ) REDEFINE SAY oSaySearch[1] Prompt "Nome" ID 4002 OF oItem:oDlgChild COLOR CLR_BLUE, GetSysColor( 15 ) oSaySearch[1]:lTransparent:=.t. ...
by Silvio.Falconi
Sat Apr 11, 2020 5:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: transparent on a say
Replies: 7
Views: 979

Re: Dark mode

... of Apps depend on OS Theme which can be found in Registry under HKEY_CURRENT_USER\Control Panel\Colors there are COLOR_ Constant to use it with GetSysColor() / SetSysColors() API https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-getsyscolor https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-setsyscolors ...
by Jimmy
Tue Oct 22, 2019 1:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dark mode
Replies: 20
Views: 2925

Re: Un problemita con TTreeView

... {},NewSelected( oTree:aItems ), XBrowse( aSelected ) ) SIZE 80, 32 LEFT @ 0.5, 20 TREEVIEW oTree OF oDlg SIZE 170, 300 COLOR Rgb( 128, 128, 128 ), GetSysColor( 5 ) CHECK oTree:nStyle += WS_BORDER oTree:bLClicked := { | nRow, nCol, nKeyFlags | NewClick( nRow, nCol ) } ACTIVATE DIALOG oDlg CENTERED ...
by jbrita
Wed Feb 20, 2019 11:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un problemita con TTreeView
Replies: 14
Views: 3205

Re: Ribbon Theme

... my modifies on prg #define COLOR_MENUHILIGHT 29 //051,153,255 IF IsWindows10() ::oRebar:l2016:=.t. ::oRebar:nRoundBox := 0 ::oRebar:nClrPaneRB := GetSysColor( COLOR_MENUHILIGHT ) else ::oRebar:l2010:=.t. endif we add also the possibility to click on the top and hide ribbonbar we add also a toolbutton ...
by Silvio.Falconi
Fri Oct 05, 2018 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Theme
Replies: 163
Views: 28250
Next

Return to advanced search