E D R , A S I H C RSS

Cx Image 사용

include

1. CxImage
2. Debug CxImage.lib
3. StdAfx.h #include "ximage.h"
4. Set->C/C++ ->Category Preprocessor
5. Additional ./include
6. link-> object/library modules Debug/CxImages.lib

Image Load

통 Document
~cpp
BOOL CCxDoc::OnOpenDocument(LPCTSTR lpszPathName) 
{
	if (!CDocument::OnOpenDocument(lpszPathName))
		return FALSE;
	
	// TODO: Add your specialized creation code here
	m_pImage = new CxImage;
	m_pImage->Load(lpszPathName, CxImage::FindType(lpszPathName));
	return TRUE;
}

Drop and Drag

App Class InitInstance()


~cpp
//if (!ProcessShellCommand(cmdInfo))
	//	return FALSE;

thread

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:23:04
Processing time 0.0136 sec