DTPICKER with EMPTY Dates

DTPICKER with EMPTY Dates

Postby dbzap » Wed May 10, 2006 3:10 pm

I'm using DTPICKER CONTROL, it's right, but i need display an empty date format. Exist?
How can make it ?

Thanks.

( sorry my english ! )
User avatar
dbzap
 
Posts: 189
Joined: Mon Nov 07, 2005 7:36 pm
Location: Chile

Postby Frank Demont » Thu May 11, 2006 6:34 am

REDEFINE DTPICKER Obj VAR Van ID 10 OF oDlg

with :


CONTROL "", 10 , "SysDateTimePick32", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP | DTS_SHOWNONE , 205 , 9 , 60, 12
Frank Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Postby dbzap » Thu May 11, 2006 11:29 am

DTS_SHOWNONE value ?
User avatar
dbzap
 
Posts: 189
Joined: Mon Nov 07, 2005 7:36 pm
Location: Chile

Postby Gale FORd » Thu May 11, 2006 2:12 pm

dbzap wrote:DTS_SHOWNONE value ?


I don't know what all of these are for but?

// begin_r_commctrl

#define DTS_UPDOWN 0x0001 // use UPDOWN instead of MONTHCAL
#define DTS_SHOWNONE 0x0002 // allow a NONE selection
#define DTS_SHORTDATEFORMAT 0x0000 // use the short date format (app must forward WM_WININICHANGE messages)
#define DTS_LONGDATEFORMAT 0x0004 // use the long date format (app must forward WM_WININICHANGE messages)
#if (_WIN32_IE >= 0x500)
#define DTS_SHORTDATECENTURYFORMAT 0x000C// short date format with century (app must forward WM_WININICHANGE messages)
#endif // (_WIN32_IE >= 0x500)
#define DTS_TIMEFORMAT 0x0009 // use the time format (app must forward WM_WININICHANGE messages)
#define DTS_APPCANPARSE 0x0010 // allow user entered strings (app MUST respond to DTN_USERSTRING)
#define DTS_RIGHTALIGN 0x0020 // right-align popup instead of left-align it

// end_r_commctrl
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 74 guests