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

C / C++ / MFC

 
GeneralRe: To catch all possible exceptions Pin
CPallini12-Apr-08 4:44
mveCPallini12-Apr-08 4:44 
GeneralRe: To catch all possible exceptions Pin
Luc Pattyn12-Apr-08 5:03
sitebuilderLuc Pattyn12-Apr-08 5:03 
GeneralRe: To catch all possible exceptions Pin
CPallini12-Apr-08 5:30
mveCPallini12-Apr-08 5:30 
GeneralRe: To catch all possible exceptions Pin
Randor 12-Apr-08 5:33
professional Randor 12-Apr-08 5:33 
GeneralRe: To catch all possible exceptions Pin
Hamid_RT14-Apr-08 4:30
Hamid_RT14-Apr-08 4:30 
GeneralTextOut text positioning oddity [modified] Pin
Anthony Appleyard12-Apr-08 2:51
Anthony Appleyard12-Apr-08 2:51 
GeneralRe: TextOut text positioning oddity Pin
CPallini12-Apr-08 3:37
mveCPallini12-Apr-08 3:37 
GeneralRe: TextOut text positioning oddity Pin
Mark Salsbery12-Apr-08 4:19
Mark Salsbery12-Apr-08 4:19 
TextOut() in the context you show is a Windows API - it shouldn't vary between compilers.

It could vary between Windows versions, but that would break a lot of apps.

The problem is your DC.  The device context determines where the text goes, based on how the DC
was acquired, its mapping mode,  its text alignment settings, etc.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: TextOut text positioning oddity Pin
Anthony Appleyard12-Apr-08 5:41
Anthony Appleyard12-Apr-08 5:41 
GeneralRe: TextOut text positioning oddity Pin
Mark Salsbery12-Apr-08 5:52
Mark Salsbery12-Apr-08 5:52 
QuestionEndDialog doesn't terminate the app! Pin
Joseph Marzbani12-Apr-08 2:47
Joseph Marzbani12-Apr-08 2:47 
GeneralRe: EndDialog doesn't terminate the app! Pin
Luc Pattyn12-Apr-08 3:02
sitebuilderLuc Pattyn12-Apr-08 3:02 
GeneralRe: EndDialog doesn't terminate the app! Pin
Joseph Marzbani12-Apr-08 3:10
Joseph Marzbani12-Apr-08 3:10 
GeneralRe: EndDialog doesn't terminate the app! Pin
Luc Pattyn12-Apr-08 4:10
sitebuilderLuc Pattyn12-Apr-08 4:10 
AnswerRe: EndDialog doesn't terminate the app! Pin
Mark Salsbery12-Apr-08 4:28
Mark Salsbery12-Apr-08 4:28 
GeneralRe: EndDialog doesn't terminate the app! Pin
Joseph Marzbani12-Apr-08 6:29
Joseph Marzbani12-Apr-08 6:29 
GeneralRe: EndDialog doesn't terminate the app! Pin
Hamid_RT14-Apr-08 4:30
Hamid_RT14-Apr-08 4:30 
Questionusing the '€'-sign with std::wofstream doesn't work Pin
souljumper12-Apr-08 1:48
souljumper12-Apr-08 1:48 
GeneralRe: using the '€'-sign with std::wofstream doesn't work Pin
CPallini12-Apr-08 2:13
mveCPallini12-Apr-08 2:13 
AnswerRe: using the '€'-sign with std::wofstream doesn't work Pin
souljumper12-Apr-08 11:17
souljumper12-Apr-08 11:17 
GeneralPassing parameter through ShellExecute Pin
neha.agarwal2712-Apr-08 1:38
neha.agarwal2712-Apr-08 1:38 
GeneralRe: Passing parameter through ShellExecute Pin
CPallini12-Apr-08 2:30
mveCPallini12-Apr-08 2:30 
GeneralRe: Passing parameter through ShellExecute Pin
neha.agarwal2712-Apr-08 2:38
neha.agarwal2712-Apr-08 2:38 
GeneralRe: Passing parameter through ShellExecute Pin
Luc Pattyn12-Apr-08 3:10
sitebuilderLuc Pattyn12-Apr-08 3:10 
GeneralProblems occuring when compiling C++ Programs using visual C++ 6 Pin
scene_8412-Apr-08 0:45
scene_8412-Apr-08 0:45 

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.