CWnd::OnNotifyFormat
The framework calls this member function to determine if the current window accepts ANSI or Unicode structures in the WM_NOTIFY notification message.
afx_msg UINT OnNotifyFormat(
CWnd* pWnd,
UINT nCommand
);
Parameter | Description |
|---|---|
[in] pWnd | A pointer to a CWnd object that represents the window sending the WM_NOTIFY message. This parameter is the pointer to a control if the nCommand parameter is NF_QUERY, or the pointer to the parent window of a control if nCommand is NF_REQUERY. |
[in] nCommand | A command value that specializes the WM_NOTIFY message. The possible values are:
|
This method receives the WM_NOTIFYFORMAT notification, which is described in the Windows SDK. WM_NOTIFY messages are sent from a common control to its parent window, and from the parent window to the common control.
Note: |
|---|
This member function is called by the framework to allow your application to handle a Windows message. The parameters passed to your function reflect the parameters received by the framework when the message was received. If you call the base-class implementation of this function, that implementation will use the parameters originally passed with the message and not the parameters you supply to the function. |
Header: afxwin.h
This method is supported in Windows Vista and later.
Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.
Note: