본문 바로가기

Windows/MFC

BringWindowToTop (z-order 변경 최상위로 변경)

BringWindowToTop();

//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
    ...
}

'Windows > MFC' 카테고리의 다른 글

XOR 연산을 통한 간단한 문자열 암호화C/C++  (0) 2013.10.02
CCombobox Style  (2) 2013.10.02
Style 정의 되어 있는 파일  (0) 2013.10.02
CStaticExHor  (0) 2013.10.02
CStaticExGroup  (0) 2013.10.02