Jump to content

How to get small color dialog


qwert
 Share

Recommended Posts

When using the _ChooseColor function in Misc.au3, the dialog opens with the Define Custom Color already activated. I would like only the minimum dialog, since I rarely change the standard selections. Can someone point out a way to get the abbreviated dialog?

Thanks in advance for any help.

post-29172-0-25075800-1325373098_thumb.p

Link to comment
Share on other sites

In the _ChooseColor() function within the Misc.au3 file in the AutoIt include directory, change

DllStructSetData($tChoose, "Flags", BitOR($__MISCCONSTANT_CC_ANYCOLOR, $__MISCCONSTANT_CC_FULLOPEN, $__MISCCONSTANT_CC_RGBINIT))

to

DllStructSetData($tChoose, "Flags", BitOR($__MISCCONSTANT_CC_ANYCOLOR, $__MISCCONSTANT_CC_RGBINIT))

This just removes the $__MISCCONSTANT_CC_FULLOPEN constant.

Link to comment
Share on other sites

Those are three excellent solutions. It's sure nice to be able to tailor the color selection dialog to exactly match the application purpose.

Thanks to you both!

Now if the color dialogs could only be zoomed to be 4x the size, they would be perfect. Remember the old days of 640x480 ... when the color boxes were "big" and easy to see and compare? But I guess that's beyond our control. True?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...