Click here to Skip to main content
15,915,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with Dumping Object (new of MFC) and FreeLibrary Pin
Nick Parker4-Dec-02 8:56
protectorNick Parker4-Dec-02 8:56 
GeneralRe: Problem with Dumping Object (new of MFC) and FreeLibrary Pin
Ranjan Banerji4-Dec-02 9:26
Ranjan Banerji4-Dec-02 9:26 
GeneralRe: Problem with Dumping Object (new of MFC) and FreeLibrary Pin
leander4-Dec-02 21:58
leander4-Dec-02 21:58 
GeneralRe: Problem with Dumping Object (new of MFC) and FreeLibrary Pin
Alvaro Mendez4-Dec-02 9:34
Alvaro Mendez4-Dec-02 9:34 
Generaldrag on hDC Pin
Nicolas Siatras4-Dec-02 7:28
Nicolas Siatras4-Dec-02 7:28 
GeneralDrawing on a device independent bitmap Pin
David F Zimny4-Dec-02 6:50
David F Zimny4-Dec-02 6:50 
GeneralRe: Drawing on a device independent bitmap Pin
Christian Graus4-Dec-02 9:55
protectorChristian Graus4-Dec-02 9:55 
GeneralRe: Drawing on a device independent bitmap Pin
Paul M Watt4-Dec-02 14:44
mentorPaul M Watt4-Dec-02 14:44 
When you create a DC with ::CreateCompatibleDC, it basically creates a DC that is ready to support a monochromatic display. It does not create a display that matches the same color format as the display. When you select a bitmap into the memDC, the color depth of the DC is set to the same as what is set in the bitmap.

Then when you use bitblt or stretchblt, the GDI does all of the color conversions for you if you are drawing from a 24 bit color DC to an 8-bit DC.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralDisplaying Image From Data Array Pin
Rooster764-Dec-02 4:51
Rooster764-Dec-02 4:51 
GeneralRe: Displaying Image From Data Array Pin
Maximilien4-Dec-02 4:54
Maximilien4-Dec-02 4:54 
GeneralRe: Displaying Image From Data Array Pin
Chris Losinger4-Dec-02 4:58
professionalChris Losinger4-Dec-02 4:58 
GeneralRe: Displaying Image From Data Array Pin
Roger Allen4-Dec-02 5:05
Roger Allen4-Dec-02 5:05 
GeneralRe: Displaying Image From Data Array Pin
Chris Losinger4-Dec-02 5:07
professionalChris Losinger4-Dec-02 5:07 
QuestionHow to Get the ChildWnd's CWnd* of Static SplitterWnd Pin
zhdleonid4-Dec-02 4:45
zhdleonid4-Dec-02 4:45 
AnswerRe: How to Get the ChildWnd's CWnd* of Static SplitterWnd Pin
valikac4-Dec-02 9:59
valikac4-Dec-02 9:59 
GeneralRe: How to Get the ChildWnd's CWnd* of Static SplitterWnd Pin
zhdleonid4-Dec-02 15:14
zhdleonid4-Dec-02 15:14 
GeneralGetClientRect disparity Pin
RalfPeter4-Dec-02 3:59
RalfPeter4-Dec-02 3:59 
GeneralRe: GetClientRect disparity Pin
Roger Allen4-Dec-02 4:39
Roger Allen4-Dec-02 4:39 
GeneralRe: GetClientRect disparity Pin
RalfPeter4-Dec-02 6:06
RalfPeter4-Dec-02 6:06 
GeneralTaskbar Pin
Victor Boctor4-Dec-02 2:36
Victor Boctor4-Dec-02 2:36 
GeneralRe: Taskbar Pin
Michael P Butler4-Dec-02 3:56
Michael P Butler4-Dec-02 3:56 
GeneralRe: Taskbar Pin
Ravi Bhavnani4-Dec-02 5:03
professionalRavi Bhavnani4-Dec-02 5:03 
GeneralNeed advice for modal window Pin
Johann Gerell4-Dec-02 2:23
Johann Gerell4-Dec-02 2:23 
GeneralRe: Need advice for modal window Pin
Paul M Watt4-Dec-02 4:20
mentorPaul M Watt4-Dec-02 4:20 
GeneralRe: Need advice for modal window Pin
Alvaro Mendez4-Dec-02 5:29
Alvaro Mendez4-Dec-02 5:29 

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.