Click here to Skip to main content
15,908,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaltesting #define with no token string Pin
20-Mar-02 10:56
suss20-Mar-02 10:56 
GeneralRe: testing #define with no token string Pin
Joaquín M López Muñoz20-Mar-02 11:03
Joaquín M López Muñoz20-Mar-02 11:03 
Generalthe background color of CView Pin
20-Mar-02 10:19
suss20-Mar-02 10:19 
GeneralRe: the background color of CView Pin
Mazdak20-Mar-02 10:29
Mazdak20-Mar-02 10:29 
Generalan others solutions please Pin
20-Mar-02 10:43
suss20-Mar-02 10:43 
GeneralRe: an others solutions please Pin
Paul M Watt20-Mar-02 12:21
mentorPaul M Watt20-Mar-02 12:21 
GeneralThe solution is Pin
20-Mar-02 21:24
suss20-Mar-02 21:24 
QuestionColors: How To? Pin
soup20-Mar-02 9:38
soup20-Mar-02 9:38 
Hi,

I have a vanilla SDI app with a scroll view in it. I have also created a CWnd derived window intended to be used as a child window in a dialog etc to pick colors from. It is populated with about 400 colors obtained from a 3rd party source.

All drawing seems to be OK, apart from:

I choose a color in my derived child window, then click in the SDI view to 'draw with it' and the colors don't match up. I'm not sure if the view or the child window is drawing the colors wrong (hopefully not both as the colors are different!). I did put the RGB value of one color into Paint SHop Pro and it corresponded to the view, so I think the view is right.

Is there anything you have to do to get a window (my derived child window) to have the same color depth as the view? Or is something else amiss?

Thanks in advance,

Simon Confused | :confused:
AnswerRe: Colors: How To? Pin
Christian Graus20-Mar-02 9:49
protectorChristian Graus20-Mar-02 9:49 
GeneralRe: Colors: How To? Pin
soup20-Mar-02 13:11
soup20-Mar-02 13:11 
AnswerRe: Colors: How To? Pin
soup20-Mar-02 13:36
soup20-Mar-02 13:36 
GeneralRe: Colors: How To? Pin
Christian Graus20-Mar-02 14:35
protectorChristian Graus20-Mar-02 14:35 
AnswerRe: Colors: How To? Pin
Michael Martin20-Mar-02 15:30
professionalMichael Martin20-Mar-02 15:30 
AnswerRe: Colors: How To? Pin
soup21-Mar-02 11:37
soup21-Mar-02 11:37 
GeneralProperty Sheets and MMC Pin
Le centriste20-Mar-02 9:35
Le centriste20-Mar-02 9:35 
GeneralRe: Property Sheets and MMC Pin
Joaquín M López Muñoz20-Mar-02 10:59
Joaquín M López Muñoz20-Mar-02 10:59 
GeneralWord 2000 & Messages Pin
20-Mar-02 9:34
suss20-Mar-02 9:34 
GeneralRe: Word 2000 & Messages Pin
Mazdak20-Mar-02 9:38
Mazdak20-Mar-02 9:38 
QuestionHow can I change docking window properties? Pin
Craig Miller20-Mar-02 9:07
Craig Miller20-Mar-02 9:07 
AnswerRe: How can I change docking window properties? Pin
Bill Wilson20-Mar-02 12:09
Bill Wilson20-Mar-02 12:09 
GeneralRe: How can I change docking window properties? Pin
Craig Miller20-Mar-02 12:15
Craig Miller20-Mar-02 12:15 
GeneralRe: How can I change docking window properties? Pin
Bill Wilson20-Mar-02 13:30
Bill Wilson20-Mar-02 13:30 
GeneralRe: How can I change docking window properties? Pin
Bill Wilson20-Mar-02 13:32
Bill Wilson20-Mar-02 13:32 
GeneralMulti-colours Pin
Derek Lakin20-Mar-02 9:04
Derek Lakin20-Mar-02 9:04 
GeneralRe: Multi-colours Pin
Andres Manggini20-Mar-02 9:10
Andres Manggini20-Mar-02 9:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.