Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / January 2005



Tip: Looking for answers? Try searching our database.

Color Picker Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vcmac - 20 Jan 2005 07:03 GMT
I have PowerPlant Carbon application.
I am opening the standard Color Picker Dialog using the Function
NPickColor(NColorPickerInfo)

Color Picker Diaog is opening But It's not closing on OK/Cancel Button.

This functinality is not even working in CodeWarrior IDE or TextEdit of
Mac.

What May be the problem.

-Hemant
David Phillip Oster - 22 Jan 2005 21:16 GMT
In article
<7da725285e06f9128c7899a36c0ee2e5@localhost.talkaboutmac.com>,

> I have PowerPlant Carbon application.
>  I am opening the standard Color Picker Dialog using the Function
[quoted text clipped - 6 lines]
>
> What May be the problem.

If you had read ColorPicker.h, you'd see that it said that NPickColor
isn't available in OS X.

Signature

David Phillip Oster

vcmac - 24 Jan 2005 13:29 GMT
So which API should I use to generate Color Picker which can catch the
events?

Is there any other way to open the color picker so that I can choose color
of my choice and use it

-Hemant
David Phillip Oster - 26 Jan 2005 06:22 GMT
In article
<b64f6bdf0ff39ee46328f8254f22606c@localhost.talkaboutmac.com>,

> So which API should I use to generate Color Picker which can catch the
> events?
>
> Is there any other way to open the color picker so that I can choose color
> of my choice and use it

If you had done a search for "ColorPicker" in
/System/Library/Frameworks, using the "in Folders" panel of Metrowerks'
"Find in Files" dialog box you would have found ColorPicker.h, which
defines PickColor and NPickColor, both of which are in Mac OS X and in
CarbonLib under OS 9.

David Phillip Oster
vcmac - 27 Jan 2005 12:53 GMT
Yes that framework is there on my machine.
But My project is in Powerplant carbon library.
There is no framework tab in my project IDE Window  .
So can u pls tell how to add those files to the project.

-Hemant
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.