Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Free Lib to create PDF documents? Pin
francisquet27-Jul-04 21:58
francisquet27-Jul-04 21:58 
GeneralButton to List Pin
arunforce27-Jul-04 15:32
arunforce27-Jul-04 15:32 
GeneralRe: Button to List Pin
V.27-Jul-04 23:42
professionalV.27-Jul-04 23:42 
GeneralRe: Button to List Pin
arunforce28-Jul-04 4:19
arunforce28-Jul-04 4:19 
GeneralRe: Button to List Pin
V.28-Jul-04 5:18
professionalV.28-Jul-04 5:18 
Questionhow to Launch IE with ShellExecute? Pin
Dody_DK27-Jul-04 14:27
Dody_DK27-Jul-04 14:27 
AnswerRe: how to Launch IE with ShellExecute? Pin
Ivan Cachicatari27-Jul-04 15:30
Ivan Cachicatari27-Jul-04 15:30 
AnswerRe: how to Launch IE with ShellExecute? Pin
Ryan Binns27-Jul-04 18:39
Ryan Binns27-Jul-04 18:39 
AnswerRe: how to Launch IE with ShellExecute? Pin
Archer28227-Jul-04 19:26
Archer28227-Jul-04 19:26 
GeneralRe: how to Launch IE with ShellExecute? Pin
Dody_DK28-Jul-04 0:30
Dody_DK28-Jul-04 0:30 
GeneralRe: how to Launch IE with ShellExecute? Pin
Ravi Bhavnani28-Jul-04 13:54
professionalRavi Bhavnani28-Jul-04 13:54 
QuestionHow to change combo styles in runtime Pin
Ivan Cachicatari27-Jul-04 10:57
Ivan Cachicatari27-Jul-04 10:57 
AnswerRe: How to change combo styles in runtime Pin
David Crow28-Jul-04 4:00
David Crow28-Jul-04 4:00 
GeneralA couple of questions... Pin
0v3rloader27-Jul-04 10:07
0v3rloader27-Jul-04 10:07 
GeneralRe: A couple of questions... Pin
Ryan Binns27-Jul-04 18:49
Ryan Binns27-Jul-04 18:49 
dNimrod#X wrote:
What is the purpose of de-selecting the GDI objects?

The Windows docs state that you should release the DC in the same state as it was when you got it, ie. it should have all the same GDI objects selected, ideally the same mapping mode, background colour etc. Most of the time, Windows can handle any changes, but sometimes it falls over in a giant steaming heap Smile | :)

dNimrod#X wrote:
CDC *pDC;
pDC = new CDC;
pDC -> Attach(GetDC() -> GetSafeHdc());


What is the reason for doing this? Why not just do
CDC *pDC = GetDC();


Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: A couple of questions... Pin
0v3rloader28-Jul-04 0:50
0v3rloader28-Jul-04 0:50 
GeneralRe: A couple of questions... Pin
Tomasz Sowinski28-Jul-04 1:00
Tomasz Sowinski28-Jul-04 1:00 
Questionhow make make an image with system colors? Pin
Kamis27-Jul-04 8:37
Kamis27-Jul-04 8:37 
AnswerRe: how make make an image with system colors? Pin
Ryan Binns27-Jul-04 19:07
Ryan Binns27-Jul-04 19:07 
GeneralRe: how make make an image with system colors? Pin
Kamis27-Jul-04 23:18
Kamis27-Jul-04 23:18 
QuestionHow do I create a "floating" dialog box? Pin
shihuik27-Jul-04 6:33
shihuik27-Jul-04 6:33 
AnswerRe: How do I create a "floating" dialog box? Pin
David Crow27-Jul-04 7:55
David Crow27-Jul-04 7:55 
GeneralIDE Bug/Problem Pin
sweep12327-Jul-04 6:14
sweep12327-Jul-04 6:14 
GeneralRe: IDE Bug/Problem Pin
David Crow27-Jul-04 8:09
David Crow27-Jul-04 8:09 
GeneralRe: IDE Bug/Problem Pin
sweep12327-Jul-04 22:02
sweep12327-Jul-04 22:02 

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.