Click here to Skip to main content
16,017,788 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Initial OnPaint Pin
Trollslayer15-Oct-05 0:59
mentorTrollslayer15-Oct-05 0:59 
GeneralRe: Initial OnPaint Pin
Prakash Nadar15-Oct-05 6:24
Prakash Nadar15-Oct-05 6:24 
AnswerRe: Initial OnPaint Pin
S. Senthil Kumar15-Oct-05 1:02
S. Senthil Kumar15-Oct-05 1:02 
GeneralRe: Initial OnPaint Pin
Trollslayer15-Oct-05 1:16
mentorTrollslayer15-Oct-05 1:16 
AnswerRe: Initial OnPaint Pin
Tim Smith15-Oct-05 4:51
Tim Smith15-Oct-05 4:51 
GeneralRe: Initial OnPaint Pin
Trollslayer15-Oct-05 4:58
mentorTrollslayer15-Oct-05 4:58 
GeneralRe: Initial OnPaint Pin
Prakash Nadar15-Oct-05 6:22
Prakash Nadar15-Oct-05 6:22 
AnswerRe: Initial OnPaint Pin
John R. Shaw16-Oct-05 16:48
John R. Shaw16-Oct-05 16:48 
Just curious, but what is being drawn in OnPaint()?

The problem is I see you creating a compaltible bitmap, but I do not see you selecting that bitmap into m_MemDC (before drawing to m_MemDC). If that is the case, then you are not drawing on the compatible bitmap. You would be drawing on the default bitmap which is monochrome, supporting black and white only.

INTP
Every thing is relative...
Questionabstract base class Pin
toxcct15-Oct-05 0:36
toxcct15-Oct-05 0:36 
AnswerRe: abstract base class Pin
S. Senthil Kumar15-Oct-05 0:52
S. Senthil Kumar15-Oct-05 0:52 
GeneralRe: abstract base class Pin
toxcct15-Oct-05 1:23
toxcct15-Oct-05 1:23 
QuestionRe: abstract base class Pin
toxcct15-Oct-05 1:42
toxcct15-Oct-05 1:42 
AnswerRe: abstract base class Pin
S. Senthil Kumar15-Oct-05 1:47
S. Senthil Kumar15-Oct-05 1:47 
GeneralRe: abstract base class Pin
toxcct15-Oct-05 1:55
toxcct15-Oct-05 1:55 
AnswerRe: abstract base class Pin
karmendra_js15-Oct-05 0:56
karmendra_js15-Oct-05 0:56 
QuestionCan any one help me to understand IOCP Pin
Member 168985514-Oct-05 23:49
Member 168985514-Oct-05 23:49 
Questionplea for assistance with CByteArray Pin
brian scott14-Oct-05 23:03
brian scott14-Oct-05 23:03 
AnswerRe: plea for assistance with CByteArray Pin
khan++14-Oct-05 23:21
khan++14-Oct-05 23:21 
GeneralRe: plea for assistance with CByteArray Pin
S. Senthil Kumar15-Oct-05 0:54
S. Senthil Kumar15-Oct-05 0:54 
AnswerRe: plea for assistance with CByteArray Pin
S. Senthil Kumar15-Oct-05 1:00
S. Senthil Kumar15-Oct-05 1:00 
GeneralRe: plea for assistance with CByteArray - compiler errors Pin
brian scott15-Oct-05 1:43
brian scott15-Oct-05 1:43 
Questionhow to import 3D SMax file in VC++? Pin
Anonymous14-Oct-05 22:34
Anonymous14-Oct-05 22:34 
AnswerRe: how to import 3D SMax file in VC++? Pin
The NULL Developer14-Oct-05 22:49
professionalThe NULL Developer14-Oct-05 22:49 
GeneralRe: how to import 3D SMax file in VC++? Pin
Anonymous14-Oct-05 23:41
Anonymous14-Oct-05 23:41 
QuestionListBox Control problem with code Pin
Rahul U Kate14-Oct-05 22:05
Rahul U Kate14-Oct-05 22:05 

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.