SupportBuyTry
BCGSoft: Forums
BCGSoft: Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 BCGControlBar Forums
 BCGControlBar Bugs and Problems
 Color picker in 256 color mode
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

David Kantrowitz

32 Posts

Posted - 12/16/2000 :  9:42:18 PM  Show Profile  Reply with Quote
When screen is set for 256 colors, then the custom color dialog box does all kinds of crazy things.
It returns colors that don't match what you selected, and the little preview window displays the wrong
color, often close to black, and when you've closed it, the color showing in the main picker reflects
RGB values (in the box that shows up when you put the mouse over it) that are quite different.

Obviously the code is not designed for the color table used in 256-mode.
Any more information you can supply about this? E.g., is a fix planned? How do I go about disabling
this button only when in 256-mode?

BTW, I have my program hide the mouse cursor when user starts typing, and redisplay it when the mouse is moved.
It's standard practice to keep mouse cursor from getting in the way of the typing.
But when detached color picker (or any toolbar) is where the mouse was last used, I don't seem
to be receiving the mouse-moved messages. So the mouse doesn't re-appear, which is very confusing, since
the only way to tell which button you'll get is by the highlighting it performs when the mouse floats
over it.
I didn't have this problem with standard windows toolbars only with BCG.
I may come up with my own solution, but if you have a quick answer, I'd appreciate it.

Support

2571 Posts

Posted - 12/18/2000 :  12:21:48 PM  Show Profile  Visit Support's Homepage  Reply with Quote
Hi, David!

Yes, you're right: there is a problem with the color-picker in 256-colors mode. The fix will be available in the next library release. If you would like to get an updated files now, please let us know and you'll send you patch by e-mail.

Regarding mouse events. Please check, that you call all "default" mouse events properly (e.g., if you've you own PreTranslateMessage or OnMouseMove, the parent event is celled always).

Bst regards,

Technical Support
BCGSoft Ltd.
Go to Top of Page

David Kantrowitz

32 Posts

Posted - 12/19/2000 :  9:26:47 PM  Show Profile  Reply with Quote
Yes, please do send. And see my e-mail to support@bcgsoft.com for details.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft: Forums © Copyright (c) 1998-2010 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000
Copyright © 1998-2008 BCGSoft CO Ltd. All rights reserved. Terms of Use | Privacy Statement
Microsoft, Visual C++, Visual Studio, Visual Studio.NET, Outlook, Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks are the property of their respective owners.
Design by Web-Master.spb and Creativemind