Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: UNICODE again Pin
grigsoft8-Apr-04 0:42
grigsoft8-Apr-04 0:42 
GeneralRe: UNICODE again Pin
jancsi8-Apr-04 5:18
jancsi8-Apr-04 5:18 
GeneralRe: UNICODE again Pin
RChin8-Apr-04 5:55
RChin8-Apr-04 5:55 
GeneralProperty Sheet Wizard Pin
erivan7-Apr-04 21:49
erivan7-Apr-04 21:49 
GeneralProblems, many problems in Visual C++ Pin
Filomela7-Apr-04 21:36
Filomela7-Apr-04 21:36 
GeneralRe: Problems, many problems in Visual C++ Pin
David Crow8-Apr-04 2:02
David Crow8-Apr-04 2:02 
GeneralMIS Pin
loveweif7-Apr-04 21:26
loveweif7-Apr-04 21:26 
GeneralRe: MIS Pin
David Crow8-Apr-04 2:04
David Crow8-Apr-04 2:04 
Questionwhat class can use "serialize()"? Pin
Anonymous7-Apr-04 21:17
Anonymous7-Apr-04 21:17 
AnswerRe: what class can use "serialize()"? Pin
RudreshJoshi7-Apr-04 22:08
RudreshJoshi7-Apr-04 22:08 
GeneralOPC Pin
Sachin Shinde7-Apr-04 21:11
Sachin Shinde7-Apr-04 21:11 
GeneralRe: OPC Pin
grigsoft8-Apr-04 0:48
grigsoft8-Apr-04 0:48 
Questionwhat is the meaning of " __cdecl time(time_t *)"? Pin
vividtang7-Apr-04 21:04
vividtang7-Apr-04 21:04 
AnswerRe: what is the meaning of " __cdecl time(time_t *)"? Pin
2249177-Apr-04 21:46
2249177-Apr-04 21:46 
AnswerRe: what is the meaning of " __cdecl time(time_t *)"? Pin
Rory Solley7-Apr-04 21:50
Rory Solley7-Apr-04 21:50 
QuestionWhat does Runtime License mean? Pin
anderslundsgard7-Apr-04 20:42
anderslundsgard7-Apr-04 20:42 
GeneralHELP ( VC++ 6.0 IDE ) Pin
Renjith Ramachandran7-Apr-04 20:23
Renjith Ramachandran7-Apr-04 20:23 
GeneralRe: HELP ( VC++ 6.0 IDE ) Pin
Rory Solley7-Apr-04 21:03
Rory Solley7-Apr-04 21:03 
GeneralRe: HELP ( VC++ 6.0 IDE ) Pin
spforeman7-Apr-04 22:19
spforeman7-Apr-04 22:19 
GeneralRe: HELP ( VC++ 6.0 IDE ) Pin
John M. Drescher8-Apr-04 0:19
John M. Drescher8-Apr-04 0:19 
Questionoutlook express addin?? Pin
xxhimanshu7-Apr-04 19:55
xxhimanshu7-Apr-04 19:55 
Generalprinting a diialog and its controls Pin
maniprabha7-Apr-04 17:55
maniprabha7-Apr-04 17:55 
Questionwhy to use "pDC->SelectObject(pOldFont)" usually? Pin
vividtang7-Apr-04 17:46
vividtang7-Apr-04 17:46 
AnswerRe: why to use "pDC->SelectObject(pOldFont)" usually? Pin
Joe Woodbury7-Apr-04 18:06
professionalJoe Woodbury7-Apr-04 18:06 
You want to ensure that a device context always contains valid data. So when you select a specific handle into a dc for the first time, the original handle is returned. Before exiting, you then put that original back. Otherwise, when, using your example, "font" is deleted, the handle in pDC would be invalid.



Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke

GeneralRe: why to use "pDC->SelectObject(pOldFont)" usually? Pin
Mike Dimmick7-Apr-04 23:44
Mike Dimmick7-Apr-04 23:44 

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.