Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Starting Process Using VC++ Pin
Albert Holguin14-Mar-11 9:03
professionalAlbert Holguin14-Mar-11 9:03 
AnswerRe: Starting Process Using VC++ Pin
Niklas L14-Mar-11 9:43
Niklas L14-Mar-11 9:43 
QuestionHow to change the font-size of a popup-menue (MFC, VC6) Pin
Erik14-Mar-11 2:42
Erik14-Mar-11 2:42 
AnswerRe: How to change the font-size of a popup-menue (MFC, VC6) Pin
Cool_Dev14-Mar-11 5:07
Cool_Dev14-Mar-11 5:07 
GeneralRe: How to change the font-size of a popup-menue (MFC, VC6) Pin
Erik14-Mar-11 19:31
Erik14-Mar-11 19:31 
GeneralRe: How to change the font-size of a popup-menue (MFC, VC6) Pin
Cool_Dev14-Mar-11 22:22
Cool_Dev14-Mar-11 22:22 
GeneralRe: How to change the font-size of a popup-menue (MFC, VC6) Pin
Erik15-Mar-11 0:08
Erik15-Mar-11 0:08 
QuestionHow can handle dateandtime control value for different regional language? [modified] Pin
Le@rner13-Mar-11 21:21
Le@rner13-Mar-11 21:21 
Hi all,

i m using datatimepicker control to display date and time in this format

%d %b, %Y %I:%M:%S %p


using two date time control on a dialog and filter the list control records according to selected date.
its working fine when using on English(US).

but when i m change the regional language settings from control panel.

i m using this.

COleDateTime cdt1;
CString chk_dt1=cdt1.Format(_T("%d %b, %Y %I:%M:%S %p"));
cdt1.ParseDateTime(chk_dt1,0,LANG_USER_DEFAULT);


than it is not format the date time in above format show Invalid DateTime and not compare result.

please tell me how can i format date and user date time result in any language.

thanks in advance.

modified on Monday, March 14, 2011 4:19 AM

AnswerRe: How can handle dateandtime control value for different regional language? Pin
Hans Dietrich13-Mar-11 22:52
mentorHans Dietrich13-Mar-11 22:52 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Le@rner13-Mar-11 23:19
Le@rner13-Mar-11 23:19 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Hans Dietrich13-Mar-11 23:29
mentorHans Dietrich13-Mar-11 23:29 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Le@rner13-Mar-11 23:31
Le@rner13-Mar-11 23:31 
AnswerRe: How can handle dateandtime control value for different regional language? Pin
Luc Pattyn13-Mar-11 23:54
sitebuilderLuc Pattyn13-Mar-11 23:54 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Le@rner14-Mar-11 0:00
Le@rner14-Mar-11 0:00 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Luc Pattyn14-Mar-11 0:13
sitebuilderLuc Pattyn14-Mar-11 0:13 
GeneralRe: How can handle dateandtime control value for different regional language? [modified] Pin
Le@rner14-Mar-11 1:18
Le@rner14-Mar-11 1:18 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Luc Pattyn14-Mar-11 1:35
sitebuilderLuc Pattyn14-Mar-11 1:35 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
Le@rner14-Mar-11 18:22
Le@rner14-Mar-11 18:22 
QuestionRe: How can handle dateandtime control value for different regional language? [modified] Pin
David Crow15-Mar-11 8:41
David Crow15-Mar-11 8:41 
AnswerRe: How can handle dateandtime control value for different regional language? Pin
Le@rner15-Mar-11 18:30
Le@rner15-Mar-11 18:30 
GeneralRe: How can handle dateandtime control value for different regional language? Pin
David Crow16-Mar-11 2:34
David Crow16-Mar-11 2:34 
QuestionIs there any licenced data structure library Pin
pandit8413-Mar-11 19:53
pandit8413-Mar-11 19:53 
AnswerRe: Is there any licenced data structure library Pin
Richard MacCutchan13-Mar-11 22:56
mveRichard MacCutchan13-Mar-11 22:56 
AnswerRe: Is there any licenced data structure library Pin
Hans Dietrich13-Mar-11 22:58
mentorHans Dietrich13-Mar-11 22:58 
QuestionDisable turning the screen off Pin
aangerma12-Mar-11 22:57
aangerma12-Mar-11 22:57 

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.