Click here to Skip to main content
16,014,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLimiting Characters in Edit Box :: MFC Pin
valikac1-Jun-02 5:30
valikac1-Jun-02 5:30 
GeneralRe: Limiting Characters in Edit Box :: MFC Pin
Joaquín M López Muñoz1-Jun-02 5:38
Joaquín M López Muñoz1-Jun-02 5:38 
GeneralRe: Limiting Characters in Edit Box :: MFC Pin
dlhson1-Jun-02 5:49
dlhson1-Jun-02 5:49 
GeneralRe: Limiting Characters in Edit Box :: MFC Pin
valikac1-Jun-02 6:15
valikac1-Jun-02 6:15 
GeneralRe: Limiting Characters in Edit Box :: MFC Pin
Michael P Butler1-Jun-02 7:22
Michael P Butler1-Jun-02 7:22 
GeneralSolution Pin
valikac1-Jun-02 7:15
valikac1-Jun-02 7:15 
QuestionUsing Unicode in Editbox, ListControl and CString ? Pin
dlhson1-Jun-02 4:09
dlhson1-Jun-02 4:09 
AnswerRe: Using Unicode in Editbox, ListControl and CString ? Pin
Paul M Watt1-Jun-02 18:22
mentorPaul M Watt1-Jun-02 18:22 
If you want to create a UNICODE version of a control, you will need to user CreateWindowW instead of the plain CreateWindow which is converted by the preprocessor to a CreateWindowA call if you are using ansi.

You will then have a window that can handle UNICODE fonts, however, if you want to load a font from a different locality you will have other issues to work through. If this is what you want post another question and I will try to help you.

If you are not compiling your application in UNICODE, then you will be out of luck getting UNICODE data into a CString unless you have version 7.0 of the CString class. All versions prior to 7.0 compile with either chars or wchar_t, but you can not use both at the same time. Version 7.0 parameterizes the string and allows you to define the type that you want to create.


Good Luck


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

QuestionGet char pos of RichEditControl ? Pin
dlhson1-Jun-02 3:58
dlhson1-Jun-02 3:58 
AnswerRe: Get char pos of RichEditControl ? Pin
Ed Gadziemski1-Jun-02 10:56
professionalEd Gadziemski1-Jun-02 10:56 
GeneralRetrieve "Data traffic" Pin
XAlien1-Jun-02 3:16
XAlien1-Jun-02 3:16 
GeneralRe: Retrieve "Data traffic" Pin
Paul M Watt1-Jun-02 8:33
mentorPaul M Watt1-Jun-02 8:33 
GeneralRe: Retrieve "Data traffic" Pin
XAlien1-Jun-02 23:05
XAlien1-Jun-02 23:05 
GeneralListBox controls Pin
1-Jun-02 3:19
suss1-Jun-02 3:19 
GeneralRe: ListBox controls Pin
XAlien1-Jun-02 3:21
XAlien1-Jun-02 3:21 
GeneralRe: ListBox controls Pin
1-Jun-02 6:00
suss1-Jun-02 6:00 
GeneralRe: ListBox controls Pin
XAlien1-Jun-02 23:02
XAlien1-Jun-02 23:02 
GeneralDifferent results with debug and release version Pin
George Ma1-Jun-02 2:33
George Ma1-Jun-02 2:33 
GeneralRe: Different results with debug and release version Pin
Michael P Butler1-Jun-02 2:37
Michael P Butler1-Jun-02 2:37 
GeneralRe: Different results with debug and release version Pin
George Ma1-Jun-02 18:12
George Ma1-Jun-02 18:12 
GeneralRe: Different results with debug and release version Pin
1-Jun-02 18:39
suss1-Jun-02 18:39 
GeneralTCP/IP on TAPI Pin
Sameer Maggon1-Jun-02 2:25
Sameer Maggon1-Jun-02 2:25 
GeneralRe: TCP/IP on TAPI Pin
Michael P Butler1-Jun-02 2:36
Michael P Butler1-Jun-02 2:36 
GeneralRe: TCP/IP on TAPI Pin
Sameer Maggon1-Jun-02 3:12
Sameer Maggon1-Jun-02 3:12 
GeneralRe: TCP/IP on TAPI Pin
Joaquín M López Muñoz1-Jun-02 6:53
Joaquín M López Muñoz1-Jun-02 6:53 

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.