On Jul 11, 2006, at 2:01 PM, Sven E Olsson wrote:
Calling the OS X Color Palette from a floating window sounds
pretty obscure for the average programmer, and is unlikely to be
attempted unless you need it in a project.
Have heard about PhotoShop??
Certainly.
If I was recreating Photoshop, I would want to use a Floating Palette
for the tools palette and would want to switch foreground and
background colors just like Photoshop does by calling their version
of the Color Palette.
I could certainly see myself or any other programmer focused on
creating Graphics Utilities run into this particular bug at some
point. As of yet, I have not run into this issue even though I am
currently working on a Graphics Utility. I was only trying to say
that the *average* programmer would be unlikely to try this combination.
With that said... I did try to reproduce this issue based on what you
wrote in your email, but I cannot get this code to crash. I have
created a sample project, which I would like to you to try to run and
see if you can get it to crash. If you cannot get this to crash,
please let me know what I did wrong so that I was not able to
reproduce it:
http://developer.dreystone.com/bugs/fpt.rbp.zip
Simply, this code has a Floating palette window with a Canvas. Click
on the canvas and it calls the SelectColor() to launch the Color
Palette.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>