Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

NextS

Modalless CColorDialog

This topic is 6917 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Yes, I want to use the CColorDialog in my program, but this useless thing only allows to be used as a Modal Dialog. Any Ideas how to extend functionality to non-Modal would be appreciated. NextS

Share this post


Link to post
Share on other sites
Advertisement
oooooooh, MFC question...

I usually use the modal version, but my guess is to just derive a custom class from CColorDialog and modify that. Same goes with CFileDialog, etc., when you wish to modify them.

-----------------------------------------------------------
PCMCIA - People Can't Memorize Computer Industry Acronyms
ISDN - It Still Does Nothing
APPLE - Arrogance Produces Profit-Losing Entity
SCSI - System Can't See It
DOS - Defunct Operating System
BASIC - Bill's Attempt to Seize Industry Control
IBM - I Blame Microsoft
DEC - Do Expect Cuts
CD-ROM - Consumer Device, Rendered Obsolete in Months
OS/2 - Obsolete Soon, Too.
WWW - World Wide Wait
MACINTOSH - Most Applications Crash; If Not, The Operating System Hangs

Share this post


Link to post
Share on other sites
Yeah, I read something about Dialog templates...

But how do I use them ?

NextS

Share this post


Link to post
Share on other sites
You don''t need to create a dialog template (altough if you''re in MFC and you don''t know what they are, you need to find out, kwik! ), just derive a new class from CColorDialog and override some virtual functions, etc.

Just goto the option to create a new MFC class, and where is asks you what class to derive from, just pick CColorDialog. I never really had to override CColorDialog or any predifines dialog template classes, so im afraid i can''t give you any more specific information.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!