Click here to Skip to main content
15,914,386 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Weird <= operation Pin
peterchen16-Jan-05 19:03
peterchen16-Jan-05 19:03 
QuestionHow to export Symbol from Win Static Library Pin
ashutosh_tripathi14-Jan-05 3:18
ashutosh_tripathi14-Jan-05 3:18 
AnswerRe: How to export Symbol from Win Static Library Pin
Martin Koorts14-Jan-05 3:44
Martin Koorts14-Jan-05 3:44 
GeneralRe: How to export Symbol from Win Static Library Pin
ashutosh_tripathi14-Jan-05 17:49
ashutosh_tripathi14-Jan-05 17:49 
GeneralRe: How to export Symbol from Win Static Library Pin
Martin Koorts16-Jan-05 22:53
Martin Koorts16-Jan-05 22:53 
GeneralOnPaint and CPaintDC Pin
Malcolm Smart14-Jan-05 3:02
Malcolm Smart14-Jan-05 3:02 
GeneralRe: OnPaint and CPaintDC Pin
Ryan Binns14-Jan-05 3:40
Ryan Binns14-Jan-05 3:40 
GeneralRe: OnPaint and CPaintDC Pin
Mike Dimmick14-Jan-05 3:40
Mike Dimmick14-Jan-05 3:40 
For a compatible DC, you have to give it a backing buffer - a bitmap object - to paint onto. A newly-created compatible DC has a 1-pixel monochrome bitmap selected into it. Any painting outside this area is simply discarded.

You need to create a new bitmap compatible with the original DC (using CreateCompatibleBitmap) and select that into memDC using SelectObject before you start painting. If you make it compatible with the memory DC you get a monochrome bitmap, rather than one with the colour depth of the original.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: OnPaint and CPaintDC Pin
Malcolm Smart14-Jan-05 4:37
Malcolm Smart14-Jan-05 4:37 
GeneralLoading HTML documents Pin
Hans Ruck14-Jan-05 2:00
Hans Ruck14-Jan-05 2:00 
GeneralPls Help with CMetaFileDC and CScrollView Pin
Dimitris Vikeloudas14-Jan-05 0:41
Dimitris Vikeloudas14-Jan-05 0:41 
QuestionVC6 - bug? Could you try on your Box? Pin
peterchen14-Jan-05 0:24
peterchen14-Jan-05 0:24 
AnswerRe: VC6 - bug? Could you try on your Box? Pin
peterchen14-Jan-05 0:29
peterchen14-Jan-05 0:29 
AnswerRe: VC6 - bug? Could you try on your Box? Pin
Aamir Butt14-Jan-05 0:38
Aamir Butt14-Jan-05 0:38 
GeneralRe: VC6 - bug? Could you try on your Box? Pin
peterchen14-Jan-05 1:24
peterchen14-Jan-05 1:24 
GeneralRe: VC6 - bug? Could you try on your Box? Pin
Aamir Butt16-Jan-05 17:31
Aamir Butt16-Jan-05 17:31 
GeneralRe: VC6 - bug? Could you try on your Box? Pin
peterchen16-Jan-05 18:42
peterchen16-Jan-05 18:42 
AnswerRe: VC6 - bug? Could you try on your Box? Pin
KaЯl14-Jan-05 1:37
KaЯl14-Jan-05 1:37 
AnswerRe: VC6 - bug? Could you try on your Box? Pin
Ryan Binns14-Jan-05 1:59
Ryan Binns14-Jan-05 1:59 
GeneralRe: VC6 - bug? Could you try on your Box? Pin
Ryan Binns14-Jan-05 2:39
Ryan Binns14-Jan-05 2:39 
GeneralRe: VC6 - bug? Could you try on your Box? Pin
peterchen14-Jan-05 3:16
peterchen14-Jan-05 3:16 
GeneralRe: VC6 - bug? Could you try on your Box? Pin
peterchen14-Jan-05 3:07
peterchen14-Jan-05 3:07 
GeneralRe: VC6 - bug? Could you try on your Box? Pin
Ryan Binns14-Jan-05 3:16
Ryan Binns14-Jan-05 3:16 
GeneralEXE Icon modifier Pin
CVNK7613-Jan-05 23:20
CVNK7613-Jan-05 23:20 
GeneralRe: EXE Icon modifier Pin
Joel Holdsworth15-Jan-05 0:19
Joel Holdsworth15-Jan-05 0:19 

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.