Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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 |