void enuSetWindowPos() method



void enuSetWindowPos(

[in] HVIEW hView,

[in] int x,

[in] int y,

[in] cx,

[in] cy

};


Parameters

hView [in]

Type:HVIEW

enuSpace View Handle


x [in]

Type:int

뷰의 포지션 (x)


y [in]

Type:int

뷰의 포지션 (y)


cx [in]

Type:int

뷰의 Width (cx)


cy [in]

Type:int

뷰의 Height (cy)


Return value

Type : void


Remarks

enuSpace SDK를 이용시, 랜더러 뷰의 위치를 설정하는 함수. 



Examples


enuSpace SDK


HVIEW ViewHandle = NULL;

void CSampleView::OnInitialUpdate()
{
	CView::OnInitialUpdate();

	enuCreateProject();
	enuLoadProjectFile(L"Project\\sample.enup");
	ViewHandle = enuCreateView(this->m_hWnd);

	RECT rect;
	GetClientRect(&rect);
	enuSetWindowPos(ViewHandle , rect.left, rect.top, rect.right, rect.bottom);
}


Reference





+ Recent posts