Click here to Skip to main content
15,902,032 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Painting Bitmap with VC 6.0 Pin
Monty22-Dec-03 19:22
Monty22-Dec-03 19:22 
GeneralWin32 SDK ::RegisterWindowMessage Pin
berndg2-Dec-03 3:39
berndg2-Dec-03 3:39 
GeneralRe: Win32 SDK ::RegisterWindowMessage Pin
GeMe_Hendrix2-Dec-03 11:31
GeMe_Hendrix2-Dec-03 11:31 
GeneralRe: Win32 SDK ::RegisterWindowMessage Pin
berndg3-Dec-03 10:19
berndg3-Dec-03 10:19 
GeneralIs there any tool that provides Autocompletion,Syntax coloring,etc. Pin
Deepa D2-Dec-03 3:26
Deepa D2-Dec-03 3:26 
GeneralFormat a date according to the system language Pin
Daed2-Dec-03 3:20
Daed2-Dec-03 3:20 
GeneralRe: Format a date according to the system language Pin
David Crow2-Dec-03 9:44
David Crow2-Dec-03 9:44 
GeneralRe: Format a date according to the system language Pin
Daed2-Dec-03 20:40
Daed2-Dec-03 20:40 
Yes i tried GetLocaleInfo to get the locale language.
I set the locale language to be English and the date/time language to be the local language. I needed this because i only want the month name to be displayed in the local language and the numbers and date order to be displayed in English. Most of the languages worked fine except the Right-to-Left languages like Arabic and Hebrew, ??? are displayed instead. What can i do?!

TCHAR strLanguage[256];
GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_SLANGUAGE, strLanguage, sizeof(strLanguage));

CString cstrlastLocale;
#ifdef _UNICODE
cstrlastLocale = (CString) _wsetlocale(LC_ALL, _T("English"));
_wsetlocale(LC_TIME, strLanguage);
#else
cstrlastLocale = (CString) setlocale(LC_ALL, _T("English"));
_wsetlocale(LC_TIME, strLanguage);
#endif

QuestionRefresh an image displayed in my dialog window ? Pin
Member 6658972-Dec-03 3:06
Member 6658972-Dec-03 3:06 
AnswerRe: Refresh an image displayed in my dialog window ? Pin
KellyR2-Dec-03 4:24
KellyR2-Dec-03 4:24 
GeneralRe: Refresh an image displayed in my dialog window ? Pin
Member 6658972-Dec-03 4:29
Member 6658972-Dec-03 4:29 
GeneralRe: Refresh an image displayed in my dialog window ? Pin
KellyR2-Dec-03 4:34
KellyR2-Dec-03 4:34 
GeneralRe: Refresh an image displayed in my dialog window ? Pin
Member 6658972-Dec-03 4:41
Member 6658972-Dec-03 4:41 
QuestionHow can I override CPropertySheet::RemovePage(int nPage) in a derived class? Pin
mfc_surfer2-Dec-03 2:10
mfc_surfer2-Dec-03 2:10 
AnswerRe: How can I override CPropertySheet::RemovePage(int nPage) in a derived class? Pin
David Crow2-Dec-03 3:16
David Crow2-Dec-03 3:16 
GeneralMember function pointer Pin
kikocharana2-Dec-03 1:18
kikocharana2-Dec-03 1:18 
GeneralRe: Member function pointer Pin
Brian Shifrin2-Dec-03 5:42
Brian Shifrin2-Dec-03 5:42 
GeneralRe: Member function pointer Pin
kikocharana2-Dec-03 9:16
kikocharana2-Dec-03 9:16 
Generala Q about C++ and OS Pin
includeh102-Dec-03 1:04
includeh102-Dec-03 1:04 
GeneralRe: a Q about C++ and OS Pin
Michael P Butler2-Dec-03 1:26
Michael P Butler2-Dec-03 1:26 
GeneralRe: a Q about C++ and OS Pin
Kevin McFarlane2-Dec-03 2:43
Kevin McFarlane2-Dec-03 2:43 
GeneralRe: a Q about C++ and OS Pin
Tim Smith2-Dec-03 4:21
Tim Smith2-Dec-03 4:21 
GeneralRe: a Q about C++ and OS Pin
Signal-92-Dec-03 8:04
Signal-92-Dec-03 8:04 
GeneralRe: a Q about C++ and OS Pin
Tim Smith2-Dec-03 9:52
Tim Smith2-Dec-03 9:52 
GeneralRe: a Q about C++ and OS Pin
Big Art2-Dec-03 10:52
Big Art2-Dec-03 10:52 

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.