Click here to Skip to main content
16,010,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionImage transwering using CAsyncsoc Pin
psramu15-May-06 21:01
psramu15-May-06 21:01 
AnswerRe: Image transwering using CAsyncsoc Pin
kakan15-May-06 22:16
professionalkakan15-May-06 22:16 
QuestionAddition MultiDocument/View architecture to ActiveX Pin
majco33315-May-06 20:39
majco33315-May-06 20:39 
AnswerRe: Addition MultiDocument/View architecture to ActiveX Pin
Roger Stoltz16-May-06 9:27
Roger Stoltz16-May-06 9:27 
QuestionAm I doing wrong? Pin
ppatel56715-May-06 20:31
ppatel56715-May-06 20:31 
AnswerRe: Am I doing wrong? Pin
Michael Dunn15-May-06 21:17
sitebuilderMichael Dunn15-May-06 21:17 
GeneralRe: Am I doing wrong? Pin
ppatel56715-May-06 21:20
ppatel56715-May-06 21:20 
GeneralRe: Am I doing wrong? Pin
Stephen Hewitt15-May-06 22:03
Stephen Hewitt15-May-06 22:03 
The simple answer is don't bother. Here's a quote from MSDN on the ReleaseDC function:
 "The ReleaseDC function releases a device context (DC), freeing it for use by other applications. The effect of the ReleaseDC function depends on the type of DC. It frees only common and window DCs. It has no effect on class or private DCs."

So always call ReleaseDC and let the system worry about the details.

Steve
GeneralRe: Am I doing wrong? Pin
Hamid_RT15-May-06 22:44
Hamid_RT15-May-06 22:44 
GeneralRe: Am I doing wrong? Pin
Stephen Hewitt15-May-06 23:58
Stephen Hewitt15-May-06 23:58 
QuestionGetting the number of records in a recordset Pin
SWDevil15-May-06 20:26
SWDevil15-May-06 20:26 
AnswerRe: Getting the number of records in a recordset Pin
Monty215-May-06 20:30
Monty215-May-06 20:30 
GeneralRe: Getting the number of records in a recordset Pin
SWDevil15-May-06 20:42
SWDevil15-May-06 20:42 
GeneralRe: Getting the number of records in a recordset Pin
psramu15-May-06 21:05
psramu15-May-06 21:05 
GeneralRe: Getting the number of records in a recordset Pin
SWDevil15-May-06 21:34
SWDevil15-May-06 21:34 
GeneralRe: Getting the number of records in a recordset Pin
David Crow16-May-06 2:46
David Crow16-May-06 2:46 
GeneralRe: Getting the number of records in a recordset Pin
SWDevil16-May-06 3:23
SWDevil16-May-06 3:23 
QuestionRe: Getting the number of records in a recordset Pin
David Crow16-May-06 4:30
David Crow16-May-06 4:30 
AnswerRe: Getting the number of records in a recordset Pin
SWDevil16-May-06 19:35
SWDevil16-May-06 19:35 
GeneralRe: Getting the number of records in a recordset Pin
David Crow17-May-06 2:44
David Crow17-May-06 2:44 
GeneralRe: Getting the number of records in a recordset Pin
SWDevil17-May-06 5:14
SWDevil17-May-06 5:14 
AnswerRe: Getting the number of records in a recordset Pin
David Crow16-May-06 2:51
David Crow16-May-06 2:51 
GeneralRe: Getting the number of records in a recordset Pin
SWDevil16-May-06 3:24
SWDevil16-May-06 3:24 
GeneralRe: Getting the number of records in a recordset Pin
David Crow16-May-06 4:29
David Crow16-May-06 4:29 
QuestionWriting an Optimiser Pin
RichardS15-May-06 20:18
RichardS15-May-06 20:18 

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.