Jump to content

Checked status of a date control


mark2004
 Share

Recommended Posts

  • 2 weeks later...

Look at Auto3Lib from PaulIA

_DTP_SetSystemTime($hWnd, $rSystemTime, $iFlag=0)

; Description ..: Sets the currently selected date and time
; Parameters ...: $hWnd         - Handle to control
;                 $rSystemTime  - SYSTEMTIME structure
;                 $iFlag        - Value specifying the action that should be  performed.   This  value
;                   must be set to one of the following:
;                   GDT_VALID - Set the control according  to  the  data  within  the  structure  that
;                     $rSystenTime points to.
;                   GDT_NONE  - Set the control to "no date" and clear its check box.   When this flag
;                     is specified, $rSystemTime is ignored.   This flag applies only to DTP  controls
;                     that are set to the DTS_SHOWNONE style.
; Return values : True on success, otherwise False
; Author .......: Paul Campbell (PaulIA)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...