WM_ 消息:P - R

下面的映射条目对应于函数原型:

映射条目 函数原型
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 );

另请参阅

消息映射
WM_ 消息的处理程序