Skip to content

ShowModalEx Method

Description

Displays a Date Picker control as a modal dialog. Allows you to specify the top left corner of the date picker and the width/height.

Syntax

Public Function ShowModalEx( _
    ByVal x As Long, _
    ByVal y As Long, _
    ByVal nWidth As Long, _
    ByVal nHeight As Long, _
    ByVal hWndParent As Integer _
) As Boolean

Parameters

  • x: X coordinate of the top left corner of the date picker.
  • y: Y coordinate of the top left corner of the date picker.
  • nWidth: Minimum width needed to display X Columns and Y Rows. Use GetMinReqRect to determine this value.
  • nHeight: Minimum height needed to display X Columns and Y Rows. Use GetMinReqRect to determine this value.
  • hWndParent: Handle to parent control. This is the control that contains the date picker.

See Also


See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.