PostMessage (1) 썸네일형 리스트형 [MFC Tip] 화면보호기 실행 방법 MFC에서 윈도우 화면보호기를 실행하는 방법입니다. GetDesktopWindow()->PostMessage(WM_SYSCOMMAND, SC_SCREENSAVE, 0L); [설명] 현재 데스크탑의 윈도우 포인터를 얻어오고, 그 윈도우에 시스템에 등록된 스크린 세이버를 실행하라는 명령을 전송한다. CWnd::GetDesktopWindow static CWnd* PASCAL GetDesktopWindow( ); Return Value Identifies the Windows desktop window. This pointer may be temporary and should not be stored for later use. Remarks Returns the Windows desktop window. Th.. 이전 1 다음