ListView SetCheck

This is a discussion on ListView SetCheck within the Windows Programming forums, part of the Platform Specific Boards category; How do you I set the check mark checked with the SendMessage? I saw on a previous board that there ...

The constants I found were:LVIS_ACTIVATING
The item is being activated in an LVN_ITEMACTIVATE notification.

LVIS_CUT
The item is marked for a cut-and-paste operation.

LVIS_DROPHILITED
The item is highlighted as a drag-and-drop target.

LVIS_FOCUSED
The item has the focus, so it is surrounded by a standard focus rectangle. Although more than one item may be selected, only one item can have the focus.
LVIS_SELECTED
The item is selected. The appearance of a selected item depends on whether it has the focus and also on the system colors used for selection.

I don't know what constant to enter here. Or if I have to fill out more fields. Any help would be really be appriated.

I would use ListView_SetCheck but when I do, the compiler says that it doesn't exist. So I went to commctrl.h so search for it, but it didn't find it. Thats why I wanted another way of setting the check.