UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NS:commctrl.tagMCGRIDINFO |
MCGRIDINFO (commctrl.h) |
Contains information about part of a calendar control. |
|
controls\MCGRIDINFO.htm |
Controls |
VS|Controls|~\controls\monthcal\structures\mcgridinfo.htm |
12/05/2018 |
*PMCGRIDINFO, MCGIF_DATE, MCGIF_NAME, MCGIF_RECT, MCGIP_CALENDAR, MCGIP_CALENDARBODY, MCGIP_CALENDARCELL, MCGIP_CALENDARCONTROL, MCGIP_CALENDARHEADER, MCGIP_CALENDARROW, MCGIP_FOOTER, MCGIP_NEXT, MCGIP_PREV, MCGRIDINFO, MCGRIDINFO structure [Windows Controls], PMCGRIDINFO, PMCGRIDINFO structure pointer [Windows Controls], _shell_MCGRIDINFO, _shell_MCGRIDINFO_cpp, commctrl/MCGRIDINFO, commctrl/PMCGRIDINFO, controls.MCGRIDINFO, controls._shell_MCGRIDINFO |
commctrl.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Windows |
MCGRIDINFO, *PMCGRIDINFO |
19H1 |
|
|
|
|
|
|
Contains information about part of a calendar control.
Type: UINT
Size of this structure, in bytes.
Type: DWORD
The part of the calendar control for which information is being requested. One of the following values.
Type: DWORD
Indicates what information is to be filled in. A combination of one or more of the following values.
Value | Meaning |
---|---|
|
stStart and stEnd. |
|
rc. |
|
pszName. |
Type: int
If dwPart is MCGIP_CALENDAR, MCGIP_CALENDARHEADER, MCGIP_CALENDARBODY, MCGIP_CALENDARROW, or MCGIP_CALENDARCELL, this member specifies the index of the calendar for which to retrieve information. For those parts, this must be a valid value even if there is only one calendar that is currently in the control.
Type: int
If dwPart is MCGIP_CALENDARROW, specifies the row for which to return information.
Type: int
If dwPart is MCGIP_CALENDARCELL, specifies the column of the cell for which to return information. The iRow member provides the row of the cell for which to return information.
Type: BOOL
If dwPart is MCGIP_CALENDARCELL, indicates if the cell described by iRow and iCol is currently selected.
Type: SYSTEMTIME
Returns the start date specified by iCalendar. Used only when dwFlags contains MCGIF_DATE.
Type: SYSTEMTIME
Returns the end date specified by iCalendar. Used only when dwFlags contains MCGIF_DATE.
Type: RECT
Returns the rectangle of the part specified in dwPart. Set only if dwFlags contains MCGIF_RECT.
Type: PWSTR
Pointer to a string for which cchName is the length. Set only if dwFlags contains MCGIF_NAME, and only for the following parts, as described in the dwPart member.
- MCGIP_CALENDAR: Returns the text of the selected dates. In the case of multiple selection, returns the date at the start of the selection.
- MCGIP_CALENDARCELL: Returns the text of the cell indicated by iRow and iCol, for instance "11" if the 11th day was specified.
- MCGIP_CALENDARHEADER: Returns the text of what it says in the calendar header, for instance "July, 2006".
Type: size_t
Length of pszName, in characters.