Edit

Share via


WM_ Messages: P - R

The following map entries correspond to the function prototypes:

Map entry Function prototype
ON_WM_PAINT() afx_msg void OnPaint();
ON_WM_PAINTCLIPBOARD() afx_msg void OnPaintClipboard( CWnd*, HANDLE );
ON_WM_PALETTECHANGED() afx_msg void OnPaletteChanged( CWnd* );
ON_WM_PALETTEISCHANGING() afx_msg void OnPaletteIsChanging( CWnd* );
ON_WM_PARENTNOTIFY() afx_msg void OnParentNotify( UINT, LONG );
ON_WM_POWERBROADCAST() afx_msg UINT OnPowerBroadcast( UINT, UINT );
ON_WM_QUERYDRAGICON() afx_msg HCURSOR OnQueryDragIcon()();
ON_WM_QUERYENDSESSION() afx_msg BOOL OnQueryEndSession()();
ON_WM_QUERYNEWPALETTE() afx_msg BOOL OnQueryNewPalette()();
ON_WM_QUERYOPEN() afx_msg BOOL OnQueryOpen()();
ON_WM_RBUTTONDBLCLK() afx_msg void OnRButtonDblClk( UINT, CPoint );
ON_WM_RBUTTONDOWN() afx_msg void OnRButtonDown( UINT, CPoint );
ON_WM_RBUTTONUP() afx_msg void OnRButtonUp( UINT, CPoint );
ON_WM_RENDERALLFORMATS() afx_msg void OnRenderAllFormats();
ON_WM_RENDERFORMAT() afx_msg void OnRenderFormat( UINT );

See also

Message Maps
Handlers for WM_ Messages