51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2092|回复: 0
打印 上一主题 下一主题

[讨论] 用VC编的第三方控件映射为WinTable应该怎么做

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-11-11 18:26:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
class CxGridConfigDlg : public CxDialog
{
// Construction
public:
CxGridConfigDlg(CWnd* pParent = NULL);   //  standard constructor
void ChildWindowOnSize();
void Flush();
COLORREF ConvertToComplementaryColor(COLORREF  Color);
char m_szGridName[STR_ROW_SIZE];
char m_szDefConfigFilePath[MAX_PATH];
GRID_ATTR m_Attr;
// Dialog Data
//{{AFX_DATA(CxGridConfigDlg)
enum { IDD = IDD_DIALOG_XGRIDCONFIG_Config };
CxStatic m_staticTitleRowHeight;
CxStatic m_staticTextRowHeight;
CxButton m_buttonEvenColor;
CxEdit m_editTitleRowHeight;
CxE
dit m_editTextRowHeight;
CxCheckBox m_checkOEFlag;
CxButton m_buttonTitleTextFont;
CxButton m_buttonTitleTextColor;
CxButton m_buttonTitleBackColor;
CxButton m_buttonTextFont;
CxButton m_buttonTextColor;
CxButton m_buttonOddColor;
CxButton m_buttonBackColor;
CxStatic m_staticFixedColumn;
CxEdit m_editFixedColumn;
CxButton m_ButtonOk;
CxButton m_buttonCancel;
CxButton m_buttonDefault;
//}}AFX_DATA
CxGridSetup m_Grid;
CxColorTemplet m_ColorBack;
CxColorTemplet m_ColorTitleText;
CxColorTemplet m_ColorText;
CxColorTemplet m_Co
lorTitleBack;
CxColorTemplet m_ColorOdd;
CxColorTemplet m_ColorEven;

// Overrides
// ClassWizard generated virtual function  overrides
//{{AFX_VIRTUAL(CxGridConfigDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX);     // DDX/DDV support
virtual BOOL OnNotify(WPARAM wParam, LPARAM  lParam, LRESULT* pResult);
virtual BOOL OnCommand(WPARAM wParam, LPARAM  lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CxGridCon
figDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnBUTTONOk();
afx_msg void OnBUTTONCancel();
afx_msg void OnBUTTONLoadDefault();
afx_msg void OnKillfocusEDITFixedColumn();
afx_msg void OnCHECKOEFlag();
afx_msg void OnBUTTONBackColor();
afx_msg void OnBUTTONTitleTextFont();
afx_msg void OnBUTTONTitleTextColor();
afx_msg void OnBUTTONTitleBackColor();
afx_msg void OnBUTTONTextFont();
afx_msg void OnBUTTONTextColor();
afx_msg void OnBUTTONOddColor();
afx_msg void OnBUTTONEvenColor();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-11 16:02 , Processed in 0.062346 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表