id (USHORT)

      Value set control identity.

    notifycode (USHORT)

      Notify code.

      The value set control uses these notification codes:

      VN_DRAGLEAVE

        The value set receives a DM_DRAGLEAVE message.
      VN_DRAGOVER
        The value set receives a DM_DRAGOVER message.
      VN_DROP
        The value set receives a DM_DROP message. The VN_DROP notification code is sent only when an item is dropped on an item that has the VIA_DROPONABLE attribute.
      VN_DROPHELP
        The value set receives a DM_DROPHELP message.
      VN_ENTER
        The user presses the Enter key while the value set window has the focus or double-clicks the select button while the pointer is over an item in the value set.
      VN_HELP
        The value set receives a WM_HELP message.
      VN_INITDRAG
        The drag button was pressed and the pointer was moved while the pointer was over the value set control. The VN_INITDRAG notification code is sent only for items that have the VIA_DRAGGABLE attribute.
      VN_KILLFOCUS
        The value set is losing the focus.
      VN_SELECT
        An item in the value set has been selected and is given selected-state emphasis.
      VN_SETFOCUS
        The value set receives the focus.

      notifyinfo (ULONG)

        Control-specific information.

        When the value of the notifycode parameter is VN_DRAGOVER, VN_DRAGLEAVE, VN_DROP, or VN_DROPHELP, this parameter is a pointer to a VSDRAGINFO structure.

        When the value of the notifycode parameter is VN_INITDRAG, this parameter is a pointer to a VSDRAGINIT structure.

        When the value of the notifycode parameter is VN_ENTER, VN_HELP, or VN_SELECT, this parameter contains the row and column of the selection cursor. The low-order word contains the row index, and the high-order word contains the column index.

        Otherwise, this parameter is the window handle (HWND) of the value set control.

      ulReserved (ULONG)

        Reserved value, should be 0.


      [Back] [Next]