Click here to Skip to main content
15,907,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: question about CDC:Pie Pin
Gerry Schmitz5-Jan-22 7:14
mveGerry Schmitz5-Jan-22 7:14 
GeneralRe: question about CDC:Pie Pin
ForNow5-Jan-22 8:30
ForNow5-Jan-22 8:30 
GeneralRe: question about CDC:Pie Pin
Gerry Schmitz5-Jan-22 12:05
mveGerry Schmitz5-Jan-22 12:05 
GeneralRe: question about CDC:Pie Pin
ForNow5-Jan-22 12:37
ForNow5-Jan-22 12:37 
QuestionSaving a memory DC to a file Pin
ForNow4-Jan-22 4:42
ForNow4-Jan-22 4:42 
AnswerRe: Saving a memory DC to a file Pin
Mircea Neacsu4-Jan-22 5:10
Mircea Neacsu4-Jan-22 5:10 
GeneralRe: Saving a memory DC to a file Pin
ForNow4-Jan-22 5:29
ForNow4-Jan-22 5:29 
AnswerRe: Saving a memory DC to a file Pin
Richard MacCutchan4-Jan-22 5:13
mveRichard MacCutchan4-Jan-22 5:13 
No, as shown in the documentation at GetDC function (winuser.h) - Win32 apps | Microsoft Docs[^]:

Quote:
The GetDC function retrieves a handle to a device context (DC) for the client area of a specified window or for the entire screen. You can use the returned handle in subsequent GDI functions to draw in the DC. The device context is an opaque data structure, whose values are used internally by GDI.


You need to save other information that you use to create the drawing.
GeneralRe: Saving a memory DC to a file Pin
ForNow4-Jan-22 5:31
ForNow4-Jan-22 5:31 
GeneralRe: Saving a memory DC to a file Pin
Victor Nijegorodov4-Jan-22 20:28
Victor Nijegorodov4-Jan-22 20:28 
QuestionHi! Im new at coding and i wanted to ask some help. Pin
panda083-Jan-22 3:21
panda083-Jan-22 3:21 
AnswerRe: Hi! Im new at coding and i wanted to ask some help. Pin
Greg Utas3-Jan-22 4:26
professionalGreg Utas3-Jan-22 4:26 
AnswerRe: Hi! Im new at coding and i wanted to ask some help. Pin
Richard MacCutchan3-Jan-22 5:10
mveRichard MacCutchan3-Jan-22 5:10 
AnswerRe: Hi! Im new at coding and i wanted to ask some help. Pin
David Crow3-Jan-22 7:28
David Crow3-Jan-22 7:28 
QuestionLooking for advice/guidance on writting / painting to non Client area of window Pin
ForNow30-Dec-21 4:39
ForNow30-Dec-21 4:39 
AnswerRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
Victor Nijegorodov30-Dec-21 5:50
Victor Nijegorodov30-Dec-21 5:50 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
ForNow30-Dec-21 7:33
ForNow30-Dec-21 7:33 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
Victor Nijegorodov30-Dec-21 8:49
Victor Nijegorodov30-Dec-21 8:49 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
ForNow30-Dec-21 9:12
ForNow30-Dec-21 9:12 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
Victor Nijegorodov30-Dec-21 10:19
Victor Nijegorodov30-Dec-21 10:19 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
ForNow30-Dec-21 10:24
ForNow30-Dec-21 10:24 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
charlieg30-Dec-21 11:54
charlieg30-Dec-21 11:54 
AnswerRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
RedDk30-Dec-21 7:29
RedDk30-Dec-21 7:29 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
ForNow30-Dec-21 7:50
ForNow30-Dec-21 7:50 
QuestionActiveX control development - old farts need apply Pin
charlieg28-Dec-21 16:08
charlieg28-Dec-21 16:08 

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.