Share via


SPNN_PICKITEM (Compact 2013)

3/28/2014

This notification informs the parent window that the spinner control is about to initiate the picker dialog in order to pick an item.

Syntax

#define SPNN_PICKITEM  (SPNN_FIRST - 2)
  lParam lpnm = (NMSPNPICKITEM *) lParam;
  wParam = 0;

Parameters

  • lParam
    Long pointer to an NMSPNPICKITEM structure. The hwndFrom member of NMSPNPICKITEM is the handle to the spinner. The code member is SPNN_PICKITEM. The pDataSource member is the IVirtualList object pointing to the data source stores in the spinner.
  • wParam
    Not used.

Return Value

An application should return a non-zero value if it processes this message.

Remarks

If the owner of the spinner control is a dialog box, it will need to set the result value via SetWindowLong(hDlg, DWL_MSGRESULT, 1) and return TRUE.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Notifications