PSN_GETOBJECT notification code

Sent by a property sheet to request a drop target object when the cursor passes over one of the tab control's buttons. This notification code is sent in the form of a WM_NOTIFY message.

PSN_GETOBJECT

    lpnmon = (LPNMOBJECTNOTIFY) lParam;

Parameters

lParam

Pointer to an NMOBJECTNOTIFY structure that, on entry, contains information about the notification code. If this notification code is processed, you must insert object information into this structure.

Return value

The application processing this notification code must return zero.

Remarks

To provide an object, an application must set values in some members of the NMOBJECTNOTIFY structure at lParam. The pObject member must be set to a valid object pointer, and the hResult member must be set to a success flag. To comply with Component Object Model (COM) standards, always increment the object's reference count when providing an object pointer.

If an application does not provide an object, it must set pObject to NULL and hResult to a failure flag.

Note

This notification code is not supported when using the Aero wizard style (PSH_AEROWIZARD).

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Prsht.h