Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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 state for a specified group. Use this macro or send the LVM_GETGROUPSTATE message explicitly.
UINT ListView_GetGroupState(
[in] HWND hwnd,
[in] UINT dwGroupId,
[in] UINT dwMask
);
[in] hwnd
Type: HWND
A handle to the list-view control.
[in] dwGroupId
Type: UINT
Specifies the group by iGroupId (see LVGROUP structure).
[in] dwMask
Type: UINT
Specifies the state values to retrieve. This is a combination of the flags listed for the state member of LVGROUP.
Type: UINT
Returns the combination of state values that are set. For example, if dwMask is LVGS_COLLAPSED and the value returned is zero, the LVGS_COLLAPSED state is not set. Zero is returned if the group is not found.
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 |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today