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.0070 sec