본문 바로가기
반응형

C & C++/MFC 컨트롤199

Tree 와 List 가 합쳐진 트리 2012. 8. 31.
스크롤바 꾸미기(색상표) Introduction Recently I needed a scroll bar that looked and acted like the one in Windows Media Player: The closest one I could find was the CSkinHorizontalScrollbarclass in Greg Ellis's article, but it did not support colors. So I createdXScrollBar, which has following features: Support for both horizontal and vertical scroll bars Optional color displayed on thumb and in channel Optional grippe.. 2012. 8. 21.
Time Picker - 시간 컨트롤러 Windows Controls: The Time Picker Introduction to the Date/Time Picker Description The date and time picker is a control that allows the user to select either a date or a time value. This control provides two objects in one: Practical Learning: Introducing the Date Picker Start Microsoft Visual Studio To start a new application, on the main menu, click File -> New Project... In the middle list, .. 2012. 6. 26.
다른 윈도우 찾기 & 종료 //계산기 닫기 HWND hWnd = ::FindWindow(NULL, _T("계산기")); if (hWnd) ::SendMessage(hWnd, WM_CLOSE, 0, 0); 2012. 6. 25.
UI 만들기 Dialog에 스크롤바 붙이기 http://www.codeguru.com/Cpp/W-D/dislog/scrolling/article.php/c1859 Read Resource (리소스 등록 파일 읽어들이기) http://blog.daum.net/debugx/51 Flash 컨트롤 사용 http://www.devpia.com/MAEUL/Contents/Detail.aspx?BoardID=51&MAEULNO=20&no=8254&page=9 ? 1 2 3 4 5 6 7 m_flash.put_Movie(_T("D:\\Sample1.swf")); m_flash.put_Loop(TRUE); long state = m_flash.get_ReadyState(); //4면 준비됨 long totalFrame = m_fl.. 2012. 6. 25.
자신의 자식 모달 모두 닫는법 자신의 자식 모달 대화상자 모두 닫는 방법입니다. void CloseChildPopup(HWND hWnd) { HWND hPopup = GetWindow( hWnd, GW_HWNDPREV ); if( !hPopup ) return; if( ::GetParent(hPopup) == hWnd && ! IsChild( hWnd, hPopup ) ) ::SendMessage( hPopup, WM_CLOSE, 0, 0 ); } [출처] 자신의 자식 모달 대화상자 모두 닫는 방법|작성자 까미유 2012. 6. 20.
반응형