-
November 17th, 2003, 04:55 PM
#1
dialog control colors
Is there a color chart somewhere that shows the RGB numbers for different dialog control colors?
Thanks.
drc
-
November 17th, 2003, 05:05 PM
#2
I usually grab a screenshot with Alt+PrntScrn, paste it into Paint, use the color picker to grab the color, then go to Colors/Edit Colors to get the RGB values. You could probably also write a very simple utility that uses a global hook on WM_MOUSEMOVE, get the pixel position of the mouse with GetCursorPos(), then GetPixel() on the device context of the screen via GetDC(GetDesktopWindow()) ... but that's something of a drastic step
-
November 17th, 2003, 05:55 PM
#3
What are you trying to achieve? If you want to know the
standard system colors then use GetSysColor
Wakeup in the morning and kick the day in the teeth!! Or something like that.
"i don't want to write leak free code or most efficient code, like others traditional (so called expert) coders do."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|