This is a clever program by Snarling Sheep which allows any color from the desktop to be selected in RGB, Hexadecimal, or Decimal values. You can also set up any color you require by using the slider controls.
I've made one slight change to it, to set the Hex color display to BBGGRR format.
best wishes, :)
Graham
Wow.. I forgot about that, lol.
Thanks for posting it :)
That one was and still is great.
Cheers,
Peter
Would you tell me what part of your program tells the window to stay on top of all?
Thanks,
Hobo
Very good GWS ;)
Quote from: Hobo on September 08, 2008, 03:14:43 PM
Would you tell me what part of your program tells the window to stay on top of all?
With the API Function 'SetWindowPos':
Declare it with:
DECLARE "user32.dll",SetWindowPos(hwnd:INT,hWndInsertAfter:INT,x:INT,y:INT,cx:INT,cy:INT,wFlags:INT),INT
Then I used it like:
'Set main window ontop
SetWindowPos(w1,-1, 0, 0, 0, 0,0x1|0x2)
The 2nd Param, -1 is the constant for HWND_TOPMOST
0x1|0x2 at the end is how you put together the Flags: SWP_NOSIZE and SWP_NOMOVE, so you don't change the placement or size of your window, just the Z-Order.
The rest are 0's for the placement and size.
Thank you, that worked beautifully.
BTW, the Color Selection program is a great tool to have to get the proper code for the proper color. :)
Thanks again,
Hobo