Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DBCS issue Pin
Graham Bradshaw4-Feb-09 6:22
Graham Bradshaw4-Feb-09 6:22 
GeneralRe: DBCS issue Pin
David Crow4-Feb-09 6:47
David Crow4-Feb-09 6:47 
GeneralRe: DBCS issue Pin
Graham Bradshaw4-Feb-09 6:50
Graham Bradshaw4-Feb-09 6:50 
GeneralRe: DBCS issue Pin
David Crow4-Feb-09 6:54
David Crow4-Feb-09 6:54 
GeneralRe: DBCS issue Pin
Graham Bradshaw4-Feb-09 6:58
Graham Bradshaw4-Feb-09 6:58 
QuestionRe: DBCS issue Pin
David Crow4-Feb-09 7:10
David Crow4-Feb-09 7:10 
AnswerRe: DBCS issue Pin
Graham Bradshaw4-Feb-09 7:29
Graham Bradshaw4-Feb-09 7:29 
AnswerRe: DBCS issue - calculating the number of bytes Pin
daniel_zy6-Feb-09 7:20
daniel_zy6-Feb-09 7:20 
The only way I know to calculate the number of bytes of DBCS string in a given encoding is:
1. Translate the string to Unicode (MultiByteToWideChar)
2. Translate the Unicode string to the previous encoding (WideCharToMultiByte) this function return the size of DBCS string in bytes.

This work (in all the case that I know of) Smile | :) .

Good luck.
QuestionNeed help on how to create Group Box dynamically Pin
John5024-Feb-09 4:48
John5024-Feb-09 4:48 
AnswerRe: Need help on how to create Group Box dynamically Pin
Code-o-mat4-Feb-09 6:16
Code-o-mat4-Feb-09 6:16 
GeneralRe: Need help on how to create Group Box dynamically Pin
Eags10-Apr-11 9:15
Eags10-Apr-11 9:15 
GeneralRe: Need help on how to create Group Box dynamically Pin
Code-o-mat10-Apr-11 9:20
Code-o-mat10-Apr-11 9:20 
AnswerRe: Need help on how to create Group Box dynamically Pin
adiveppanavar13-Dec-11 19:51
adiveppanavar13-Dec-11 19:51 
QuestionCannot get the correct cursor position in picture control Pin
z01e4-Feb-09 4:25
z01e4-Feb-09 4:25 
QuestionRe: Cannot get the correct cursor position in picture control Pin
David Crow4-Feb-09 4:40
David Crow4-Feb-09 4:40 
AnswerRe: Cannot get the correct cursor position in picture control Pin
z01e4-Feb-09 4:41
z01e4-Feb-09 4:41 
GeneralRe: Cannot get the correct cursor position in picture control Pin
John5024-Feb-09 4:49
John5024-Feb-09 4:49 
AnswerRe: Cannot get the correct cursor position in picture control Pin
Code-o-mat4-Feb-09 4:53
Code-o-mat4-Feb-09 4:53 
QuestionRe: Cannot get the correct cursor position in picture control Pin
z01e4-Feb-09 5:03
z01e4-Feb-09 5:03 
AnswerRe: Cannot get the correct cursor position in picture control Pin
Code-o-mat4-Feb-09 5:36
Code-o-mat4-Feb-09 5:36 
QuestionRe: Cannot get the correct cursor position in picture control Pin
z01e4-Feb-09 5:56
z01e4-Feb-09 5:56 
AnswerRe: Cannot get the correct cursor position in picture control Pin
Code-o-mat4-Feb-09 6:10
Code-o-mat4-Feb-09 6:10 
GeneralRe: Cannot get the correct cursor position in picture control Pin
z01e4-Feb-09 6:25
z01e4-Feb-09 6:25 
GeneralRe: Cannot get the correct cursor position in picture control Pin
Code-o-mat4-Feb-09 6:43
Code-o-mat4-Feb-09 6:43 
QuestionRe: Cannot get the correct cursor position in picture control Pin
z01e4-Feb-09 7:11
z01e4-Feb-09 7:11 

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.