.NET

Reply
*perry
Message 1 of 6 (214 Views)

color dialog

214 Views, 5 Replies
06-30-2006 02:06 PM
Ok, before anyone gives me the oh so helpful answer of "look at Autodesk.AutoCad.Windows",
I had no trouble of creating a button on a form that when clicked displays the the Autocad
colors dialog box.
What I want is a color combo box (drop down list) on my form. The one that shows the "basic"
acad colors in a drop down list and whichever one is selected (including the "other" which
pops up the aformentioned dialog box) a color swatch is shown in the edit box portion of the
control.
In Arx I just made a combo box on my form and associated it with a member
variable of type "colorcombobox".
Net forms a a little different though. In none of the sdk samples do I see this.
Thanks, Perry
*perry
Message 2 of 6 (214 Views)

Re: color dialog

07-06-2006 07:57 AM in reply to: *perry
Nothing?
*perry
Message 3 of 6 (214 Views)

Re: color dialog

07-07-2006 08:26 AM in reply to: *perry
perry wrote:
> Nothing?
Or is this not possible under .Net?
I see that none of the "CAcUi" stuff is exposed in net.
Would it be possible to create a .net class that wraps
the "CAcUiColorComboBox" or would that be a real bugger
since that class derives from MFC?
Perry
*perry
Message 4 of 6 (214 Views)

Re: color dialog

08-09-2006 01:17 PM in reply to: *perry
Im overwhelmed
Distinguished Contributor
Mikko
Posts: 212
Registered: ‎10-03-2003
Message 5 of 6 (214 Views)

Re: color dialog

08-10-2006 07:16 AM in reply to: *perry
This might not have anything to do with what your needing but it might help.
*perry
Message 6 of 6 (214 Views)

Re: color dialog

08-10-2006 01:27 PM in reply to: *perry
Thanks Mikko, thats pretty close to what I was looking for.
I had already done something just like that in C# but was really hoping
to use the color list available in ARX.
Perry

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community