Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Text getting truncated Pin
Richard MacCutchan19-Oct-10 4:31
mveRichard MacCutchan19-Oct-10 4:31 
JokeRe: Text getting truncated Pin
Sauro Viti19-Oct-10 5:05
professionalSauro Viti19-Oct-10 5:05 
JokeRe: Text getting truncated Pin
Code-o-mat19-Oct-10 5:58
Code-o-mat19-Oct-10 5:58 
JokeRe: Text getting truncated Pin
bleedingfingers20-Oct-10 1:18
bleedingfingers20-Oct-10 1:18 
GeneralRe: Text getting truncated Pin
Richard MacCutchan20-Oct-10 1:29
mveRichard MacCutchan20-Oct-10 1:29 
QuestionWhat characters are not valid and not supported in URL? Pin
Le@rner19-Oct-10 0:15
Le@rner19-Oct-10 0:15 
AnswerRe: What characters are not valid and not supported in URL? PinPopular
Richard MacCutchan19-Oct-10 0:33
mveRichard MacCutchan19-Oct-10 0:33 
QuestionProblem while displaying "Greek" and "Russian" Strings Pin
msr_codeproject18-Oct-10 23:31
msr_codeproject18-Oct-10 23:31 
I am facing a strange problem.

In my dialog application (Win32), I have a button control.
I am loading a "Greek" string ("Επιλογή Εκτυπωτή")from a string DLL and trying to

>Case-1
display on the button control.

>Case-2
And also I am trying to use the same string to set the dialog's title.

But here the problem is,on the button, text is displayed correctly, but dialog's title displayed as
"?p???? ??t?p?t?"

I am using (both for Case-1 and Case-2)

>LoadStringW to load the string
>SetWindowTextW to display

While debugging, I found that strings are loaded properly in both the cases.
I have also tried by changing code pages using setlocale API.

But I couldn't solve this issue.
Please provide me some tips so that I can move forward.


Thanks in advance
msr
AnswerRe: Problem while displaying "Greek" and "Russian" Strings Pin
Sauro Viti18-Oct-10 23:43
professionalSauro Viti18-Oct-10 23:43 
GeneralRe: Problem while displaying "Greek" and "Russian" Strings Pin
msr_codeproject18-Oct-10 23:52
msr_codeproject18-Oct-10 23:52 
AnswerRe: Problem while displaying "Greek" and "Russian" Strings Pin
Richard MacCutchan19-Oct-10 4:48
mveRichard MacCutchan19-Oct-10 4:48 
GeneralRe: Problem while displaying "Greek" and "Russian" Strings Pin
msr_codeproject19-Oct-10 19:01
msr_codeproject19-Oct-10 19:01 
GeneralRe: Problem while displaying "Greek" and "Russian" Strings Pin
Richard MacCutchan19-Oct-10 22:57
mveRichard MacCutchan19-Oct-10 22:57 
AnswerRe: Problem while displaying "Greek" and "Russian" Strings Pin
gothic_coder20-Oct-10 21:08
gothic_coder20-Oct-10 21:08 
GeneralRe: Problem while displaying "Greek" and "Russian" Strings [modified] Pin
msr_codeproject20-Oct-10 21:12
msr_codeproject20-Oct-10 21:12 
QuestionFILETIME / WinAPI Pin
Fareed Rizkalla18-Oct-10 22:36
Fareed Rizkalla18-Oct-10 22:36 
AnswerRe: FILETIME / WinAPI Pin
vasu_sri18-Oct-10 23:32
vasu_sri18-Oct-10 23:32 
GeneralRe: FILETIME / WinAPI Pin
Fareed Rizkalla18-Oct-10 23:51
Fareed Rizkalla18-Oct-10 23:51 
QuestionRe: FILETIME / WinAPI Pin
David Crow19-Oct-10 4:18
David Crow19-Oct-10 4:18 
AnswerRe: FILETIME / WinAPI Pin
Fareed Rizkalla19-Oct-10 13:16
Fareed Rizkalla19-Oct-10 13:16 
Questionedit box taking 1108 lines Pin
learningvisualc18-Oct-10 21:48
learningvisualc18-Oct-10 21:48 
AnswerRe: edit box taking 1108 lines Pin
Sauro Viti18-Oct-10 22:02
professionalSauro Viti18-Oct-10 22:02 
AnswerRe: edit box taking 1108 lines Pin
«_Superman_»18-Oct-10 22:42
professional«_Superman_»18-Oct-10 22:42 
QuestionChallenging question for AVI Reading experts Pin
gonsalvesroger18-Oct-10 19:34
gonsalvesroger18-Oct-10 19:34 
QuestionOverflow in LPtoDP function Pin
ashtwin18-Oct-10 18:31
ashtwin18-Oct-10 18:31 

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.