Click here to Skip to main content
15,918,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to print data from MsFlexgrid in VC++ Pin
Deepali V3-Feb-05 19:04
sussDeepali V3-Feb-05 19:04 
QuestionHow to get process id given the process name Pin
g3e3-Feb-05 18:05
g3e3-Feb-05 18:05 
AnswerRe: How to get process id given the process name Pin
Carlos Antollini4-Feb-05 8:57
Carlos Antollini4-Feb-05 8:57 
GeneralRe: How to get process id given the process name Pin
g3e6-Feb-05 19:16
g3e6-Feb-05 19:16 
General::SetWindowRgn returns zero on Win98/ME Pin
uday__m3-Feb-05 17:18
uday__m3-Feb-05 17:18 
QuestionHow to get all file name in a folder Pin
ytod3-Feb-05 16:09
ytod3-Feb-05 16:09 
AnswerRe: How to get all file name in a folder Pin
l00p1n63-Feb-05 16:46
l00p1n63-Feb-05 16:46 
QuestionProblem with TextOut() in Windows 2003 Japanese? Pin
RYU^^3-Feb-05 15:28
RYU^^3-Feb-05 15:28 
Hi MASTERs,

I am using CDC::TextOut() to display lines in the screen. Imagine that I want to display the following line:
1234,6789,1234,6789,1234,6789,1234,6789,1234,6789,1234,6789,1234,6789,1234,6789, [Put a double byte kanji character]
1234,6789,1234,6789,1234,6789,1234,6789,1234,6789,1234,6789,1234,6789,1234,6789, [Put a double byte kanji character]
1234,6789,1234,6789,1234,6789,1234,6789,1234,6789,1234,6789,1234,6789,1234,6789,


If you run in Windows 2003 Japanese, you will see that the 3rd line is aligned properly on the screen but it is NOT aligned properly when you do printing or print preview (no matter which font you are using, the alignment always wrong).

Now, if I remove the comma, both printing and displaying works fine (aligned the line properly).
1234678912346789123467891234678912346789123467891234678912346789 [Put a double byte kanji character]
1234678912346789123467891234678912346789123467891234678912346789 [Put a double byte kanji character]
1234678912346789123467891234678912346789123467891234678912346789


It is only happening in Windows 2003 Japanese and Windows XP Japanese (I haven't check Chinese version yet, but I think it will have the same problem).

Any idea? Please help...

Thanks...
AnswerRe: Problem with TextOut() in Windows 2003 Japanese? Pin
RYU^^6-Feb-05 16:07
RYU^^6-Feb-05 16:07 
GeneralInvoking a .exe into VC++ Pin
joy0073-Feb-05 14:21
joy0073-Feb-05 14:21 
GeneralRe: Invoking a .exe into VC++ Pin
toxcct3-Feb-05 17:09
toxcct3-Feb-05 17:09 
GeneralRe: Invoking a .exe into VC++ Pin
joy0074-Feb-05 15:21
joy0074-Feb-05 15:21 
GeneralRe: Invoking a .exe into VC++ Pin
ThatsAlok4-Feb-05 23:25
ThatsAlok4-Feb-05 23:25 
GeneralRe: Invoking a .exe into VC++ Pin
Carlos Antollini4-Feb-05 8:58
Carlos Antollini4-Feb-05 8:58 
GeneralInvoking java in VC++ Pin
joy0073-Feb-05 14:18
joy0073-Feb-05 14:18 
Generalcorrect way to determine control part dimensions Pin
Jim Crafton3-Feb-05 14:16
Jim Crafton3-Feb-05 14:16 
GeneralRe: correct way to determine control part dimensions Pin
toxcct3-Feb-05 17:12
toxcct3-Feb-05 17:12 
GeneralRe: correct way to determine control part dimensions Pin
Ryan Binns3-Feb-05 17:26
Ryan Binns3-Feb-05 17:26 
QuestionMsvcrt/d .dll - any idea ? Pin
cdmstrpl3-Feb-05 12:41
cdmstrpl3-Feb-05 12:41 
AnswerRe: Msvcrt/d .dll - any idea ? Pin
Christian Graus3-Feb-05 12:49
protectorChristian Graus3-Feb-05 12:49 
QuestionSocket method advice? Pin
z33z3-Feb-05 11:34
z33z3-Feb-05 11:34 
AnswerRe: Socket method advice? Pin
Anonymous3-Feb-05 12:17
Anonymous3-Feb-05 12:17 
GeneralSetWindowPos in OnInitDiaolog() Pin
RsK_frmrf3-Feb-05 11:17
RsK_frmrf3-Feb-05 11:17 
GeneralRe: SetWindowPos in OnInitDiaolog() Pin
Ravi Bhavnani3-Feb-05 11:47
professionalRavi Bhavnani3-Feb-05 11:47 
GeneralRe: SetWindowPos in OnInitDiaolog() Pin
RsK_frmrf4-Feb-05 11:07
RsK_frmrf4-Feb-05 11:07 

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.