Click here to Skip to main content
15,884,537 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: sizeof related in c/c++ Pin
Stuart Dootson27-May-09 4:58
professionalStuart Dootson27-May-09 4:58 
AnswerRe: sizeof related in c/c++ Pin
David Crow27-May-09 5:00
David Crow27-May-09 5:00 
GeneralRe: sizeof related in c/c++ Pin
hawk23reddy27-May-09 5:23
hawk23reddy27-May-09 5:23 
GeneralRe: sizeof related in c/c++ Pin
Stuart Dootson27-May-09 7:38
professionalStuart Dootson27-May-09 7:38 
AnswerRe: sizeof related in c/c++ Pin
«_Superman_»27-May-09 22:03
professional«_Superman_»27-May-09 22:03 
QuestionAccess to a view from a CTreeCtrl Pin
Gagnon Claude27-May-09 1:45
Gagnon Claude27-May-09 1:45 
QuestionCopy text in Memory DC. Pin
zakkas248327-May-09 0:08
zakkas248327-May-09 0:08 
AnswerRe: Copy text in Memory DC. Pin
CPallini27-May-09 0:23
mveCPallini27-May-09 0:23 
From documentation [^]:

Remarks
A memory DC exists only in memory. 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.

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: Copy text in Memory DC. Pin
zakkas248327-May-09 0:37
zakkas248327-May-09 0:37 
GeneralRe: Copy text in Memory DC. Pin
CPallini27-May-09 0:57
mveCPallini27-May-09 0:57 
Questionhow to attach horizontal scroll bar to combo box control Pin
saksp26-May-09 23:57
saksp26-May-09 23:57 
AnswerRe: how to attach horizontal scroll bar to combo box control Pin
Nibu babu thomas27-May-09 1:18
Nibu babu thomas27-May-09 1:18 
QuestionVS2005 backward compatibility Pin
Sunil P V26-May-09 23:40
Sunil P V26-May-09 23:40 
QuestionHow to use Win32_Tpm class method? Pin
aishui090526-May-09 23:38
aishui090526-May-09 23:38 
QuestionHow to calculate string width and height in pixel. Pin
pandit8426-May-09 23:25
pandit8426-May-09 23:25 
QuestionRe: How to calculate string width and height in pixel. Pin
CPallini26-May-09 23:48
mveCPallini26-May-09 23:48 
AnswerRe: How to calculate string width and height in pixel. Pin
molesworth27-May-09 0:00
molesworth27-May-09 0:00 
AnswerRe: How to calculate string width and height in pixel. Pin
David Crow27-May-09 3:45
David Crow27-May-09 3:45 
JokeRe: How to calculate string width and height in pixel. Pin
Stuart Dootson27-May-09 5:12
professionalStuart Dootson27-May-09 5:12 
JokeRe: How to calculate string width and height in pixel. Pin
Rajesh R Subramanian27-May-09 21:14
professionalRajesh R Subramanian27-May-09 21:14 
QuestionMFC VS2005 example Pin
Lju226-May-09 23:23
Lju226-May-09 23:23 
AnswerRe: MFC VS2005 example Pin
BangQ26-May-09 23:35
BangQ26-May-09 23:35 
AnswerRe: MFC VS2005 example Pin
Hamid_RT26-May-09 23:45
Hamid_RT26-May-09 23:45 
GeneralRe: MFC VS2005 example Pin
Lju227-May-09 0:27
Lju227-May-09 0:27 
GeneralRe: MFC VS2005 example Pin
Hamid_RT27-May-09 1:17
Hamid_RT27-May-09 1:17 

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.