CWindow::BringWindowToTop
창의 Z 순서 맨 아래에 나타납니다.
BOOL BringWindowToTop( ) throw();
설명
참조 BringWindowToTop 에 있는 Windows SDK.
예제
//The following example attaches an HWND to the CWindow object and
//calls CWindow::BringWindowToTop() to bring the window to the top
//of the z-order.
CWindow myWindow;
myWindow.Attach(hWnd);
BOOL bOnTop = myWindow.BringWindowToTop();
//check if we could bring the window on top
if(bOnTop)
{
//Do something
}
요구 사항
헤더: atlwin.h