Tabcontrol color

Started by Frank Brübach, January 14, 2024, 01:36:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pierre Bellisle

You guessed right Aurel. 

I don't think anybody is using Kick beside me. 
So the name is almost unknown. 
Probably Roland saw a squirrel start running at the same time he wrote it...

Charles Pegge

Many thanks, Pierre,

I've included your update of dialogs.inc, and of course, your TabControlColor example. (demos\WinDynDialogs)

Continuous Update:
https://github.com/Charles-Pegge/OxygenBasic/blob/master/OxygenBasic.zip

Zlatko Vid

Hi Pierre

I have troubles to get this work properly
I mean ..how to change at runtime color of edit control
i tried this:

ASE WM_CTLCOLOREDIT
'by Pierre Bellisle..
  select GetDlgCtrlID(lparam)
case ed1ID
             if theme = 4 : SetBkColor(wparam, RGB(43,42,54)): end if
                SetTextColor(wparam,RGB(240,230,230))     
              return darkBrush 'darkColor
         case else
              darkBrush = CreateSolidBrush(RGB(255,255,255))
             SetBkColor( wparam, RGB(255,255,255))
        if theme <> 4 : SetTextColor( wparam,RGB(0,0,0)) : end if
            return  darkBrush
       
  end select