PSN_TRANSLATEACCELERATOR notification code

Notifies a property sheet that a keyboard message has been received. It provides the page an opportunity to do private keyboard accelerator translation. This notification code is sent in the form of a WM_NOTIFY message.


PSN_TRANSLATEACCELERATOR 

    lppsn = (LPPSHNOTIFY) lParam; 

Parameters

lParam

A pointer to a PSHNOTIFY structure that contains information about the notification code. This structure contains an NMHDR structure as its first member, hdr. The hwndFrom member of the NMHDR structure contains the handle to the property sheet. The lParam member of the PSHNOTIFY structure is a pointer to the message's MSG. It can be cast to an LPMSG type, to get access to the parameters of the message to be translated.

Return value

Returns PSNRET_MESSAGEHANDLED to indicate that no further processing is necessary. Returns PSNRET_NOERROR to request normal processing.

Remarks

To set the return value, the dialog box procedure for the page must use the SetWindowLong function with the DWL_MSGRESULT value. The dialog box procedure must return TRUE.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Prsht.h

 

 

Show: