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

C / C++ / MFC

 
GeneralHelp with AI, ASAP!!! Pin
Snyp28-Oct-03 12:31
Snyp28-Oct-03 12:31 
GeneralRe: Help with AI, ASAP!!! Pin
Blake Coverett28-Oct-03 17:56
Blake Coverett28-Oct-03 17:56 
GeneralRe: Help with AI, ASAP!!! Pin
Michael P Butler29-Oct-03 1:46
Michael P Butler29-Oct-03 1:46 
GeneralRe: Help with AI, ASAP!!! Pin
Atlantys30-Oct-03 12:49
Atlantys30-Oct-03 12:49 
GeneralRe: Help with AI, ASAP!!! Pin
Snyp29-Oct-03 15:18
Snyp29-Oct-03 15:18 
GeneralRe: Help with AI, ASAP!!! Pin
Snyp29-Oct-03 15:19
Snyp29-Oct-03 15:19 
QuestionDirectX/Win32 stealing key messages? Pin
andy5528-Oct-03 12:12
andy5528-Oct-03 12:12 
GeneralNeed help displaying Chinese characters in a CListCtrl Pin
Raymond So28-Oct-03 11:48
Raymond So28-Oct-03 11:48 
Hi,

I need help on trying to display Chinese characters in a CListCtrl. I have _UNICODE flag in project settings, and I'm using the unicode conventions (i.e., _T() for string literals, _tcscpy in place of strcpy(), etc.). Still no luck, I've even tried to set the font:

CFont *cFontPtr = m_CertListCntrl.GetFont();

LOGFONT lFontObj;
int success = cFontPtr->GetLogFont(&lFontObj);
lFontObj.lfCharSet = CHINESEBIG5_CHARSET;
CFont cfObj;
BOOL s = cfObj.CreateFontIndirect(&lFontObj);
m_CertListCntrl.SetFont(&cfObj, TRUE);

And still no luck. Note: I tried to test the code by hard coding chinese characters and filling in the list. Not sure if that has an effect on it.

Thanks,
Raymond
GeneralRe: Need help displaying Chinese characters in a CListCtrl Pin
yndfcd28-Oct-03 13:26
yndfcd28-Oct-03 13:26 
GeneralRe: Need help displaying Chinese characters in a CListCtrl Pin
Michael Dunn28-Oct-03 16:56
sitebuilderMichael Dunn28-Oct-03 16:56 
GeneralRe: How to update dialog title when a value is changed in a child window? Pin
ElizabethC28-Oct-03 11:00
ElizabethC28-Oct-03 11:00 
GeneralRe: How to update dialog title when a value is changed in a child window? Pin
David Crow28-Oct-03 11:09
David Crow28-Oct-03 11:09 
GeneralRe: How to update dialog title when a value is changed in a child window? Pin
Terry O'Nolley28-Oct-03 12:28
Terry O'Nolley28-Oct-03 12:28 
GeneralRe: How to update dialog title when a value is changed in a child window? Pin
ElizabethC28-Oct-03 13:07
ElizabethC28-Oct-03 13:07 
GeneralRe: How to update dialog title when a value is changed in a child window? Pin
Terry O'Nolley28-Oct-03 13:51
Terry O'Nolley28-Oct-03 13:51 
GeneralRe: How to update dialog title when a value is changed in a child window? Pin
ElizabethC30-Oct-03 10:35
ElizabethC30-Oct-03 10:35 
Generalupgrading vc6 c++ project to .net Pin
mindows28-Oct-03 10:49
mindows28-Oct-03 10:49 
GeneralRe: upgrading vc6 c++ project to .net Pin
Dave Bryant28-Oct-03 13:12
Dave Bryant28-Oct-03 13:12 
GeneralCalling an ActiveX EXE from VC++... Pin
Orkun GEDiK28-Oct-03 10:39
Orkun GEDiK28-Oct-03 10:39 
GeneralRe: Calling an ActiveX EXE from VC++... Pin
Michael P Butler29-Oct-03 1:51
Michael P Butler29-Oct-03 1:51 
QuestionHow to update dialog title when a value is changed in a child window? Pin
ElizabethC28-Oct-03 10:19
ElizabethC28-Oct-03 10:19 
AnswerRe: How to update dialog title when a value is changed in a child window? Pin
David Crow28-Oct-03 10:40
David Crow28-Oct-03 10:40 
AnswerRe: How to update dialog title when a value is changed in a child window? Pin
Blake Miller30-Oct-03 9:17
Blake Miller30-Oct-03 9:17 
Generalm_pParentWnd and m_hWnd Pin
ns28-Oct-03 9:32
ns28-Oct-03 9:32 
GeneralRe: m_pParentWnd and m_hWnd Pin
Joaquín M López Muñoz28-Oct-03 9:44
Joaquín M López Muñoz28-Oct-03 9:44 

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.