• 大小: 3.41MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-09
  • 语言: C/C++
  • 标签: PSD文件  源代码  

资源简介

VC++解析PSD文件并显示图像源代码 VC++解析PSD文件并显示图像源代码

资源截图

代码片段和文件信息

// ImportPhotoshop.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “ImportPhotoshop.h“
#include “ImportPhotoshopDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CImportPhotoshopApp

BEGIN_MESSAGE_MAP(CImportPhotoshopApp CWinApp)
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()


// CImportPhotoshopApp construction

CImportPhotoshopApp::CImportPhotoshopApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}


// The one and only CImportPhotoshopApp object

CImportPhotoshopApp theApp;


// CImportPhotoshopApp initialization

BOOL CImportPhotoshopApp::InitInstance()
{
// InitCommonControls() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles.  Otherwise any window creation will fail.
InitCommonControls();

CWinApp::InitInstance();

// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need
// Change the registry key under which our settings are stored
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));

CImportPhotoshopDlg dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

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

     文件      43124  2009-08-24 17:09  MyPSD_demo\ImportPhotoshop.aps

     文件       1942  2005-07-12 10:59  MyPSD_demo\ImportPhotoshop.cpp

     文件        556  2005-07-12 10:59  MyPSD_demo\ImportPhotoshop.h

     文件   10292224  2009-10-17 22:11  MyPSD_demo\ImportPhotoshop.ncb

     文件       5884  2006-07-22 18:25  MyPSD_demo\ImportPhotoshop.rc

     文件        889  2006-07-20 22:09  MyPSD_demo\ImportPhotoshop.sln

    ..A..H.     36864  2009-10-17 22:11  MyPSD_demo\ImportPhotoshop.suo

     文件       6118  2009-10-16 10:42  MyPSD_demo\ImportPhotoshop.vcproj

     文件       1433  2009-10-17 22:11  MyPSD_demo\ImportPhotoshop.vcproj.7946C16E9C06417.hu-ym.user

     文件       1407  2009-10-17 11:47  MyPSD_demo\ImportPhotoshop.vcproj.IA.huym.user

     文件       1433  2009-09-01 15:08  MyPSD_demo\ImportPhotoshop.vcproj.USER-B9F3DD9CAE.huymou.user

     文件       5435  2006-07-21 20:50  MyPSD_demo\ImportPhotoshopDlg.cpp

     文件        867  2005-07-12 10:59  MyPSD_demo\ImportPhotoshopDlg.h

     文件      51209  2009-10-16 17:25  MyPSD_demo\MyPSD.cpp

     文件      12999  2009-10-16 17:09  MyPSD_demo\MyPSD.h

     文件       4197  2005-07-12 10:59  MyPSD_demo\ReadMe.txt

     文件      21630  2005-07-12 10:59  MyPSD_demo\res\ImportPhotoshop.ico

     文件        705  2005-07-12 10:59  MyPSD_demo\res\ImportPhotoshop.manifest

     文件        406  2005-07-12 10:59  MyPSD_demo\res\ImportPhotoshop.rc2

     文件        871  2005-07-12 10:59  MyPSD_demo\resource.h

     文件        215  2005-07-12 10:59  MyPSD_demo\stdafx.cpp

     文件       1809  2005-07-12 10:59  MyPSD_demo\stdafx.h

     文件    1463420  2011-07-27 06:56  MyPSD_demo\xyj.txt

     目录          0  2011-07-27 07:38  MyPSD_demo\Debug

    ..AD...         0  2009-10-17 13:38  MyPSD_demo\res

     目录          0  2011-07-27 07:39  MyPSD_demo

----------- ---------  ---------- -----  ----

             11955637                    26


评论

共有 条评论