Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the size needed to display the control without clipping. Use this macro or send the DTM_GETIDEALSIZE message explicitly.
Syntax
BOOL DateTime_GetIdealSize(
[in] HWND hdp,
[out] SIZE psize
);
Parameters
[in] hdp
Type: HWND
A handle to the DTP control.
[out] psize
Type: SIZE
A pointer to a SIZE structure to receive the size. The caller is responsible for allocating this structure.
Return value
Type: BOOL
Returns TRUE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |