Click here to Skip to main content
16,004,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Manifest and unicode Pin
benjymous8-Nov-06 4:38
benjymous8-Nov-06 4:38 
GeneralRe: Manifest and unicode Pin
ramjam8-Nov-06 8:16
ramjam8-Nov-06 8:16 
QuestionAtlAxWin & IE 7 Pin
Eddie_NG8-Nov-06 2:17
Eddie_NG8-Nov-06 2:17 
GeneralRe: AtlAxWin & IE 7 Pin
Eddie_NG8-Nov-06 2:28
Eddie_NG8-Nov-06 2:28 
QuestionPathToRegion Pin
Waldermort8-Nov-06 1:50
Waldermort8-Nov-06 1:50 
AnswerRe: PathToRegion Pin
Steve S8-Nov-06 5:25
Steve S8-Nov-06 5:25 
GeneralRe: PathToRegion Pin
Waldermort8-Nov-06 5:34
Waldermort8-Nov-06 5:34 
GeneralRe: PathToRegion Pin
Steve S8-Nov-06 6:38
Steve S8-Nov-06 6:38 
You don't think I actually test some of my answers, do you ? Smile | :)

The MSDN sample doesn't use a bitmap because it's using a window DC, not a compatible one, so I was guessing that over-eager clipping was responsible.

"When the memory DC is created, its display surface is exactly one monochrome pixel wide and one monochrome pixel high. Before an application can use a memory DC for drawing operations, it must select a bitmap of the correct width and height into the DC. To select a bitmap into a DC, use the CreateCompatibleBitmap function, specifying the height, width, and color organization required".

Interestingly, the same documentation doesn't mention what the default font for the memory DC is, but there ought to be one.

Can't help with the OS question, since I'm XPSP2 everywhere except servers these days.

Steve S
Developer for hire

GeneralRe: PathToRegion Pin
Waldermort8-Nov-06 7:03
Waldermort8-Nov-06 7:03 
QuestionRe: PathToRegion Pin
Waldermort8-Nov-06 6:09
Waldermort8-Nov-06 6:09 
QuestionHow to call destructor of derived class Pin
vikas amin8-Nov-06 0:58
vikas amin8-Nov-06 0:58 
AnswerRe: How to call destructor of derived class Pin
karnav zaveri8-Nov-06 1:05
karnav zaveri8-Nov-06 1:05 
QuestionMDI Child window Pin
RajiRaghu8-Nov-06 0:20
RajiRaghu8-Nov-06 0:20 
AnswerRe: MDI Child window Pin
Hamid_RT8-Nov-06 0:29
Hamid_RT8-Nov-06 0:29 
QuestionWhat can cause SendMessage to get stuck? Pin
skyapie8-Nov-06 0:18
skyapie8-Nov-06 0:18 
AnswerRe: What can cause SendMessage to get stuck? Pin
Jonathan [Darka]8-Nov-06 0:27
professionalJonathan [Darka]8-Nov-06 0:27 
AnswerRe: What can cause SendMessage to get stuck? Pin
David Crow8-Nov-06 2:55
David Crow8-Nov-06 2:55 
AnswerRe: What can cause SendMessage to get stuck? Pin
PJ Arends8-Nov-06 6:29
professionalPJ Arends8-Nov-06 6:29 
QuestionCStringTable Pin
Ștefan-Mihai MOGA8-Nov-06 0:14
professionalȘtefan-Mihai MOGA8-Nov-06 0:14 
AnswerRe: CStringTable Pin
Mila0258-Nov-06 0:30
Mila0258-Nov-06 0:30 
GeneralRe: CStringTable Pin
Ștefan-Mihai MOGA8-Nov-06 0:57
professionalȘtefan-Mihai MOGA8-Nov-06 0:57 
GeneralRe: CStringTable Pin
Maximilien8-Nov-06 2:51
Maximilien8-Nov-06 2:51 
GeneralRe: CStringTable Pin
Mila0258-Nov-06 3:39
Mila0258-Nov-06 3:39 
AnswerRe: CStringTable Pin
Maximilien8-Nov-06 2:49
Maximilien8-Nov-06 2:49 
QuestionHi question related to Control's display. Pin
Sameer_Thakur7-Nov-06 23:09
Sameer_Thakur7-Nov-06 23:09 

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.