1. Where is this found in documentation "setWindowBackColor( ToolWin, getSysColor(COLOR_DESKTOP) )"

Selgor here

I am wondering just where in Win32Lib documentation

that I might find such things as

getSysColor(COLOR_DESKTOP)

I am aware of the setBackColor

"such things" being system commands, functions ??

In anticipation.

Cheers Selgor..

new topic     » topic index » view message » categorize

2. Re: Where is this found in documentation "setWindowBackColor( ToolWin, getSysColor(COLOR_DESKTOP) )"

Selgor said...

Selgor here

I am wondering just where in Win32Lib documentation

that I might find such things as

getSysColor(COLOR_DESKTOP)

I am aware of the setBackColor

"such things" being system commands, functions ??

In anticipation.

Cheers Selgor..

  • Open index.htm in the DOCS folder.
  • Click on the "Index" link
  • Scroll down to "getSysColor"
  • Click the "getSysColor" link

And I found ...

[func] 
getSysColor ( window, color ) 
Return atom with value of a system color. 
Returns: ATOM:Returns the RGB value of the specified system color. 
Category: System Attributes 
 
 
The system colors in Windows are listed here.  
 
COLOR_SCROLLBAR  
COLOR_BACKGROUND  
COLOR_DESKTOP  
COLOR_ACTIVECAPTION  
COLOR_INACTIVECAPTION  
COLOR_MENU  
COLOR_WINDOW  
COLOR_WINDOWFRAME  
COLOR_MENUTEXT  
COLOR_WINDOWTEXT  
COLOR_CAPTIONTEXT  
COLOR_ACTIVEBORDER  
COLOR_INACTIVEBORDER  
COLOR_APPWORKSPACE  
COLOR_HIGHLIGHT  
COLOR_HIGHLIGHTTEXT  
COLOR_BTNFACE  
COLOR_BTNSHADOW  
COLOR_GRAYTEXT  
COLOR_BTNTEXT  
COLOR_INACTIVECAPTIONTEXT  
COLOR_BTNHIGHLIGHT  
COLOR_3DDKSHADOW  
COLOR_3DLIGHT  
COLOR_INFOTEXT  
COLOR_INFOBK  
COLOR_HOTLIGHT  
COLOR_GRADIENTACTIVECAPTION  
COLOR_GRADIENTINACTIVECAPTION  
COLOR_MENUHILIGHT  
COLOR_MENUBAR  
 
Example:  
 
          -- Set the window to the button color 
           setWindowBackColor( MyWindow, getSysColor( COLOR_BTNFACE ) ) 


I didn't think that was two hard to find.


new topic     » goto parent     » topic index » view message » categorize

3. Re: Where is this found in documentation "setWindowBackColor( ToolWin, getSysColor(COLOR_DESKTOP) )"

DerekParnell said...
Selgor said...

Selgor here

I am wondering just where in Win32Lib documentation

that I might find such things as

getSysColor(COLOR_DESKTOP)

I am aware of the setBackColor

"such things" being system commands, functions ??

In anticipation.

Cheers Selgor..

  • Open index.htm in the DOCS folder.
  • Click on the "Index" link
  • Scroll down to "getSysColor"
  • Click the "getSysColor" link

And I found ...

[func] 
getSysColor ( window, color ) 
Return atom with value of a system color. 
Returns: ATOM:Returns the RGB value of the specified system color. 
Category: System Attributes 
 
 
The system colors in Windows are listed here.  
 
COLOR_SCROLLBAR  
COLOR_BACKGROUND  
COLOR_DESKTOP  
COLOR_ACTIVECAPTION  
COLOR_INACTIVECAPTION  
COLOR_MENU  
COLOR_WINDOW  
COLOR_WINDOWFRAME  
COLOR_MENUTEXT  
COLOR_WINDOWTEXT  
COLOR_CAPTIONTEXT  
COLOR_ACTIVEBORDER  
COLOR_INACTIVEBORDER  
COLOR_APPWORKSPACE  
COLOR_HIGHLIGHT  
COLOR_HIGHLIGHTTEXT  
COLOR_BTNFACE  
COLOR_BTNSHADOW  
COLOR_GRAYTEXT  
COLOR_BTNTEXT  
COLOR_INACTIVECAPTIONTEXT  
COLOR_BTNHIGHLIGHT  
COLOR_3DDKSHADOW  
COLOR_3DLIGHT  
COLOR_INFOTEXT  
COLOR_INFOBK  
COLOR_HOTLIGHT  
COLOR_GRADIENTACTIVECAPTION  
COLOR_GRADIENTINACTIVECAPTION  
COLOR_MENUHILIGHT  
COLOR_MENUBAR  
 
Example:  
 
          -- Set the window to the button color 
           setWindowBackColor( MyWindow, getSysColor( COLOR_BTNFACE ) ) 


I didn't think that was two hard to find.


Well that was only 4 simple steps, so I would agree, that wasn't really very hard FOUR anyone to find! smile

Dan

new topic     » goto parent     » topic index » view message » categorize

4. Re: Where is this found in documentation "setWindowBackColor( ToolWin, getSysColor(COLOR_DESKTOP) )"

Selgor here

Thank you Derek 4 your response 2 my question.

Well, iF IVE been remiss in using my little knowledge of Euphoria

then I have been duly admonished.

Here's a cryptic

Learner (Selgor) meets Master (Derek) about disapproval of cane ?

Answer :- BAMBOO

Thanks for the humour DanM, appreciated.

Anyhow .... I too now know where to look .

Thanks again ..

Cheers

Selgor.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu