Windows Mobile Developer Network Forum

Windows Mobile Developer Network Forum
It is currently Thu Sep 09, 2010 10:34 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How to edit year of DTP control on SPWM5 device.
PostPosted: Mon Feb 25, 2008 8:25 am 
Offline

Joined: Mon Feb 25, 2008 7:54 am
Posts: 1
Hi,

I made one test program with one DTP(Date Time Picker) control. This control working fine with emulator, I am able to change the "Year" field without any problem.

When I run this program on the SPWM5( HTC 3125 and cingular 2125) device, it does not allow me to edit the "Year". It allow me to edit only date and month field on the device.

The control details are:-

CONTROL "",IDC_DATETIMEPICKER2,"SysDateTimePick32",DTS_APPCANPARSE | WS_TABSTOP,7,20,104,11


I also added INITCOMMONCONTROLSEX in beggining of WinMain
INITCOMMONCONTROLSEX comctrex;
comctrex.dwSize = sizeof(comctrex);
comctrex.dwICC = ICC_DATE_CLASSES;
InitCommonControlsEx(&comctrex);


Is this known issue on some spwm5 devices? Please suggest how to edit year.

On other platforms like SP2K3 and SPWM6 my test program working fine.

Thanks,
Indra


Top
 Profile  
 
 Post subject: Re:
PostPosted: Tue Feb 26, 2008 9:49 am 
Offline

Joined: Wed May 31, 2006 7:18 am
Posts: 40
Location: India
Have u tested while debugging when u press key the message get changes.I think u have to verify the weather wm_keydown is getting or not while debugging. if true then u have to implements IME in edit control.

I too faced similiar issue .


Good luck!!!


Top
 Profile  
 
 Post subject: Re: How to edit year of DTP control on SPWM5 device.
PostPosted: Wed May 21, 2008 4:19 am 
Offline

Joined: Tue Mar 21, 2006 3:48 pm
Posts: 1
I too am experiencing this issue on WM5. Have you found a solution?

Thanks.

Arthur


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group