ObjectARX

ObjectARX

Reply
Valued Contributor
kennethmjones
Posts: 69
Registered: ‎02-24-2011
Message 1 of 3 (121 Views)
Accepted Solution

need help to display color swatches with CAcUiColorComboBox

121 Views, 2 Replies
04-08-2012 05:04 PM

Hello,

 

I did not get any takers for my original post so I re-posted with a new subject. I would really appreciate some help with this.

 

I have looked at the posts about the CAcUiColorComboBox but I can't find anything that tells about displaying those color swatches mentioned in the documentation. 

 

The default functionality and color list is fine for me. It would be so nice if I could see the colors too.

I only get the names displaying. What is the trick to getting the color swatches to show?


I would appreciate some advice.

 

Many thanks,

Ken

Thank you Owen,

 

That is the trick that did the trick!

 

I am very grafeful for your help.

 

Ken

Distinguished Mentor
owenwengerd
Posts: 686
Registered: ‎08-06-2002
Message 2 of 3 (119 Views)

Re: need help to display color swatches with CAcUiColorComboBox

04-08-2012 05:29 PM in reply to: kennethmjones

It's difficult to guess what you're doing wrong without seeing your code, but from your description it sounds like one possibility is that you're resetting the control's CBS_OWNERDRAWFIXED window style bit.

.

--
Owen Wengerd
ManuSoft
Valued Contributor
kennethmjones
Posts: 69
Registered: ‎02-24-2011
Message 3 of 3 (116 Views)

Re: need help to display color swatches with CAcUiColorComboBox

04-08-2012 05:54 PM in reply to: owenwengerd

Thank you Owen,

 

That is the trick that did the trick!

 

I am very grafeful for your help.

 

Ken

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.