void enuActivateView(HVIEW pENUView)
void enuActivateView(HVIEW pENUView)
Parameters
- Type : HVIEW
뷰 핸들을 전달합니다.
Return Value
- none
Remarks
- 활성화된 뷰는 taskview() 의 스크립트 함수가 동작합니다.
Examples
HVIEW ViewHandle = NULL;
void CSampleView::OnInitialUpdate()
{
CView::OnInitialUpdate();
enuCreateProject();
// Load Project
enuLoadProjectFile(L"Project\\sample.enup");
// Create View
ViewHandle = enuCreateView(this->m_hWnd);
// edit mode unactivate.
enuSetEditOperationMode(ViewHandle , false);
// default mouse wheel control set.
enuSetDefaultWheelControl(ViewHandle , true);
// view activate
enuActivateView(ViewHandle );
// New Page Create.
CString strPicture = L"picture\\KoreaAIP.svg";
HSVG SvgHandle = enuNewSvgPageFile(strPicture.GetBuffer(0));
// ENU View Attach Set Page
enuSetSvgPageView(ViewHandle , strPicture.GetBuffer(0));
}