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/Det…
- Category Archives 비공개
-
-
Using a Context Menu on a Control
Introduction One of the primary characteristics of a control is to make its role appear obvious to the user. For example, by default, a button is used to click in order to start an action. Sometimes y…
-
[Tip] CMenu를 이용하여 팝업메뉴 만들기
트랙백 주소 : http://www.tipssoft.com/bulletin/tb.php/FAQ/244 팁스소프트에서 제공하는 프로그래밍과 관련된 자료나 정보들을 무단으로 복제하거나 게재하는 행위는 상호간의 신뢰를 무너뜨리는 행위이며, 법적인 문제를 야기할 수 있으므로 각별한 주의를 당부드립니다. * 팁스소프트 저작권 정책 보기 – http…
-
[Grid] BCG Grid Ctl 이벤트 모음
//////////////////////////////////////////////////////////////////// const DWORD dwViewStyle = WS_CHILD | WS_VISIBLE; CRect rcTmp; CBCGPGridRow* pRow; CString strTmp; m_staticFileAntPatternHoriListLoc…
-
[ContextMenu]동적으로 콘텍스트 메뉴 생성
MFC 일 경우 OnContextMenu에서 아래와 같이 생성한다. void CCustomCtrl::OnContextMenu(CWnd * pWnd, CPoint point) { CMenu Menu; if( Menu.CreatePopupMenu() == TRUE) { for(i=0; i<(UINT)m_StringArrary.GetCount(); i++)…
-
std::map example
// std::map example // opposite words #include <iostream> #include <map> #include <string> using namespace std; typedef std::map<std::string, std::string> TStrStrMap; typedef s…
-
MFC 트레이 아이콘(Tray Icon)
1. NOTIFYICONDATA 구조체 상태바 영역에 필요한 메시지 정보를 내포한다. typedef struct _NOTIFYICONDATAA { DWORD cdSize; // 구조체의 크기(byte) HWND hWnd; // 트레이를 소유한 핸들 UINT uID; // 구분할수 있는 ID…
-
[VC++] Window의 초기 크기와 위치 정해주기
Windows 용 응용프로그램을 만들 경우에, console 프로그램이 아닌경우에는 실행시에 window의 초기 위치와 크기를 정해주고 싶은 경우가 있을것이다. 나는 몇일전에 있었다~ 쉽게 할 수 있는 방법을 정리하고자 한다. 우선 코드를 논하기에 앞서서 내가 사용한 방법을 간략히 설명하자면, MainFrame class에 WM_SHOWWINDOW mess…
-
Window Traybar 크기 알아 내기.
HWND h_wnd = ::FindWindow(“Shell_TrayWnd”, NULL); if(h_wnd != NULL){ CRect r; ::GetWindowRect(h_wnd, &r); } r.top 이 현재 윈도우 해상도에서 트래이바가 시작되는 위치 r.bot…