Andrew's Garage

Shrunk Expand

Primary Navigation

[MFC] – 포커스 없는 창 만들기

창은 생성 되지만, 포커스는 가져 오지 않는 창 만들기.

MFC 다이얼로그 모드라면, 초기화 코드에 다음 추가!

SetWindowLong(m_hWnd,GWL_EXSTYLE,WS_EX_NOACTIVATE);

아는게 힘!!!

 

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related


Posted on 2014-08-09 9:11 AM by andrew Comment
📂This entry was posted in C/C++ MFC & WINDOWS 참고를 위한 저장물

Related Posts

  • 2014-06-12 andrew

    숫자에 세자리마다 컴마찍기

    숫자에 세자리마다 컴마찍기 1. 함수 선언부분 function setComma(str) { var temp_str = String(str); for(var i = 0 , retVa...
  • 2014-07-09 andrew

    Window Traybar 크기 알아 내기.

        HWND h_wnd = ::FindWindow("Shell_TrayWnd", NULL);     if(h_wnd != NULL){         CRect r;      ...
« MFC] – CWebBrowser2 에서 IWebBrowser2 사용하기 [MFC] – 동일 어플 반복 실행 방지 »

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

( optional )


©2025 boots Entries RSS and Comments RSS Child theme Boots of Raindrops Theme