CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 1999
    Posts
    12

    Cusomizing color dialog box...



    Hi All...


    I am trying to customize the color dialog box...I need a color dlg box like MSWORD7.0 has...a 16 colors one...I have overidden Colordlg's constructor...no use...can any one suggest how to proceed for this...I need a Dlg box which is like a CColorDialog but it should have only 16standard colors....

    Thanks,

    TIA

    prem

  2. #2
    Join Date
    Jan 2000
    Location
    Colombo, Sri Lanka
    Posts
    11

    Re: Cusomizing color dialog box...

    Hi Prem,

    I'm not sure of a way you can get CColorDialog to open with 16 colors, but how they implement it in Word7 I think is by the use of CComboBoxEx. I haven't tried to implement this myself, but you can provide your own image list for the 16 colors you want and handle them by which is selected.

    Good Luck!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured