Colordlg.cpp
上传用户:ywlong9188
上传日期:2022-05-31
资源大小:2656k
文件大小:1k
- // ColorDlg.cpp : implementation file
- //
- #include "stdafx.h"
- #include "ColorDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CColorDlg
- IMPLEMENT_DYNAMIC(CColorDlg, CColorDialog)
- CColorDlg::CColorDlg(COLORREF clrInit, DWORD dwFlags, CWnd* pParentWnd) :
- CColorDialog(clrInit, dwFlags, pParentWnd)
- {
- }
- BEGIN_MESSAGE_MAP(CColorDlg, CColorDialog)
- //{{AFX_MSG_MAP(CColorDlg)
- ON_WM_LBUTTONDBLCLK()
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- void CColorDlg::OnLButtonDblClk(UINT nFlags, CPoint point)
- {
- PostMessage(WM_KEYDOWN,VK_RETURN,0);
- CColorDialog::OnLButtonDblClk(nFlags, point);
- }