• 大小: 15.63MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-07
  • 语言: C/C++
  • 标签: mfc  对话框  皮肤  设置  

资源简介

mfc对话框皮肤设置,利用dll,设置不同的皮肤

资源截图

代码片段和文件信息

// DemoDlg1.cpp : implementation file
//

#include “stdafx.h“
#include “SkinSharpDemo.h“
#include “DemoDlg1.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDemoDlg1 dialog


CDemoDlg1::CDemoDlg1(CWnd* pParent /*=NULL*/)
: CDialog(CDemoDlg1::IDD pParent)
{
//{{AFX_DATA_INIT(CDemoDlg1)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}


void CDemoDlg1::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDemoDlg1)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDemoDlg1 CDialog)
//{{AFX_MSG_MAP(CDemoDlg1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDemoDlg1 message handlers

BOOL CDemoDlg1::OnInitDialog() 
{
CDialog::OnInitDialog();

// TODO: Add extra initialization here

((CButton*)GetDlgItem(IDC_BUTTON5))->SetIcon(::LoadIcon(NULL IDI_INFORMATION));
((CButton*)GetDlgItem(IDC_BUTTON6))->SetBitmap(::LoadBitmap(NULL MAKEINTRESOURCE(32754)));

((CButton*)GetDlgItem(IDC_GROUPBOX1))->SetIcon(::LoadIcon(NULL IDI_INFORMATION));
((CButton*)GetDlgItem(IDC_GROUPBOX2))->SetBitmap(::LoadBitmap(NULL MAKEINTRESOURCE(32754)));

((CButton*)GetDlgItem(IDC_CHECK4))->SetIcon(::LoadIcon(NULL IDI_INFORMATION));
((CButton*)GetDlgItem(IDC_CHECK8))->SetBitmap(::LoadBitmap(NULL MAKEINTRESOURCE(32754)));


((CButton*)GetDlgItem(IDC_RADIO4))->SetIcon(::LoadIcon(NULL IDI_INFORMATION));
((CButton*)GetDlgItem(IDC_RADIO8))->SetBitmap(::LoadBitmap(NULL MAKEINTRESOURCE(32754)));

return TRUE;  // return TRUE unless you set the focus to a control
              // EXCEPTION: OCX Property Pages should return FALSE
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      30738  2009-09-09 20:54  SkinH\Bin\Aero.she

     文件       9533  2009-09-09 20:54  SkinH\Bin\QQ2008.she

     文件      86528  2009-09-15 10:29  SkinH\Bin\SkinH.dll

     文件      20552  2009-09-09 20:54  SkinH\Bin\skinh.she

     文件      83456  2009-09-15 10:26  SkinH\Bin\SkinHu.dll

     文件     355840  2012-02-27 12:36  SkinH\Bin\SkinSharpDemo.exe

     文件     302052  2012-02-27 12:36  SkinH\Bin\SkinSharpDemo.ilk

     文件      15302  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\BuildLog.htm

     文件      21009  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\DemoDlg1.obj

     文件          0  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\DemoDlg1.sbr

     文件      35299  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\DemoDlg2.obj

     文件          0  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\DemoDlg2.sbr

     文件      33313  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\DemoDlg3.obj

     文件          0  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\DemoDlg3.sbr

     文件      26487  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\DemoDlg4.obj

     文件          0  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\DemoDlg4.sbr

     文件      60730  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\DemoDlg5.obj

     文件          0  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\DemoDlg5.sbr

     文件      30287  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\DemoDlg6.obj

     文件          0  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\DemoDlg6.sbr

     文件         65  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\mt.dep

     文件    7203840  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\SkinSharpDemo.bsc

     文件        920  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\SkinSharpDemo.exe.embed.manifest

     文件        984  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\SkinSharpDemo.exe.embed.manifest.res

     文件        861  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\SkinSharpDemo.exe.intermediate.manifest

     文件      27765  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\SkinSharpDemo.obj

     文件   28639232  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\SkinSharpDemo.pch

     文件    3304448  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\SkinSharpDemo.pdb

     文件     296096  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\SkinSharpDemo.res

     文件          0  2012-02-27 12:36  SkinH\Demo\SkinSharpDemo\Debug\SkinSharpDemo.sbr

............此处省略116个文件信息

评论

共有 条评论