In one of my applications, I 'm trying to change the system date,month &
year using the PtCalendar widget. After any change, the changed date ,
month and year should be set in a text box.For this, I’m writing code in
Pt_CB_CALENDAR_SELECT callback.But, I’m not successful.Can anyone send me
a snippet/ suggest some ideas as how to proceed?
MS > In one of my applications, I 'm trying to change the system date,month &
MS > year using the PtCalendar widget. After any change, the changed date ,
MS > month and year should be set in a text box.For this, I’m writing code in
MS > Pt_CB_CALENDAR_SELECT callback.But, I’m not successful.Can anyone send me
MS > a snippet/ suggest some ideas as how to proceed?
MS > Bye.
I don’t think the PtCalendar widget ever attempts to change the actual
system date/time. In your callback you’ll need to also call
settimeofday().
Hi, I have another problem whit the PtCalendar:
This is the situation: My PtCalendar have a Pt_CB_CALENDAR_SELECT
callback, the code in the callback should give me the date of the
calendar where I do click but it always return the same value (a
constant) of day, month and year; this is the code:
Hi, I have another problem whit the PtCalendar:
This is the situation: My PtCalendar have a Pt_CB_CALENDAR_SELECT
callback, the code in the callback should give me the date of the
calendar where I do click but it always return the same value (a
constant) of day, month and year; this is the code: