⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 colorpickupdlg.h

📁 是一个较好的缩放工具
💻 H
字号:
// ColorPickupDlg.h : header file
//

#if !defined(AFX_COLORPICKUPDLG_H__4781C72C_E08E_4802_9150_DB01D157FA8A__INCLUDED_)
#define AFX_COLORPICKUPDLG_H__4781C72C_E08E_4802_9150_DB01D157FA8A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "ColorShow.h"
#include "ColorSwatch.h"
#include "ImageButton.h"
#include "Picker.h"

/////////////////////////////////////////////////////////////////////////////
// CColorPickupDlg dialog

class CColorPickupDlg : public CDialog
{
// Construction
public:
        CColorPickupDlg(CWnd* pParent = NULL);  // standard constructor

// Dialog Data
        //{{AFX_DATA(CColorPickupDlg)
        enum { IDD = IDD_COLORPICKUP_DIALOG };
        CImageButton    c_Show;
        CPicker c_Picker;
        CStatic c_Frame;
        CImageButton    c_Copy;
        CImageButton c_UpRight;
        CImageButton c_UpLeft;
        CImageButton c_Up;
        CImageButton c_Right;
        CColorSwatch    c_R;
        CImageButton c_Left;
        CColorSwatch    c_G;
        CImageButton c_DownRight;
        CImageButton c_DownLeft;
        CImageButton c_Down;
        CColorSwatch    c_B;
        CEdit   c_Size;
        CSpinButtonCtrl c_SpinSize;
        CStatic c_RGB;
        CColorShow      c_Image;
        //}}AFX_DATA

        // ClassWizard generated virtual function overrides
        //{{AFX_VIRTUAL(CColorPickupDlg)
        protected:
        virtual void DoDataExchange(CDataExchange* pDX);        // DDX/DDV support
        //}}AFX_VIRTUAL

// Implementation
protected:
        HICON m_hIcon;
        CFont Wingdings;
        HCURSOR picker;

        void ResizeImage();
        BOOL initialized;
        afx_msg LRESULT OnPoint(WPARAM, LPARAM);
        afx_msg LRESULT OnPicker(WPARAM, LPARAM);
        // Generated message map functions
        //{{AFX_MSG(CColorPickupDlg)
        virtual BOOL OnInitDialog();
        afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
        afx_msg void OnPaint();
        afx_msg HCURSOR OnQueryDragIcon();
        virtual void OnOK();
        virtual void OnCancel();
        afx_msg void OnClose();
        afx_msg void OnSize(UINT nType, int cx, int cy);
        afx_msg void OnChangeSize();
        afx_msg void OnDown();
        afx_msg void OnLeft();
        afx_msg void OnRight();
        afx_msg void OnUp();
        afx_msg void OnDownleft();
        afx_msg void OnDownright();
        afx_msg void OnUpleft();
        afx_msg void OnUpright();
        afx_msg void OnCopy();
        afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
        afx_msg void OnShow();
        //}}AFX_MSG
        DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COLORPICKUPDLG_H__4781C72C_E08E_4802_9150_DB01D157FA8A__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -