对话框学习4
摘要:
基于对话框的拖盘程序首先为C**Dlg类添加自定义消息WM_TRAY_NOTIFICATION并添加代码如下:afx_msg LRESULT CTrayDlg::OnTrayNotification(WPARAM wParam, LPARAM lParam){ switch (lParam){ case WM_RBUTTONUP: case WM_LBUTTONDBLCLK: ShowWindow(SW_SHOW); TrayMessage(m_hWnd, NIM_DELETE, NULL, ""); } return 0;}响应方式为... 阅读全文
posted @ 2012-09-28 13:27 louzhang_swk 阅读(305) 评论(0) 推荐(0) 编辑