Andrew's Garage

Shrunk Expand

Primary Navigation

← Older postsNewer posts→
  • Category Archives C/C++
  • 비공개 » 참고를 위한 저장물 » C/C++C/C++ » cmake/make
  •  MFC – 콤보박스

    [콤보 박스 사용 예] 1. 다이얼로그 등에, 콤보박스를 드래그 하여 올려둔다. 2. 컨트롤 타입의 변수 선언. 3. 콤보에 들어갈 목록을 배열로 작성 예) CString combo_value[] = {“1분 후”,”2분 후”,”3분 후”,”5분 후”,”10분…


    Continue reading → Post ID 311

    Posted on 2014-08-09 9:06 AM by andrew Comment
    C/C++ MFC & WINDOWS 참고를 위한 저장물
  • [MFC] – 메모리 관련 정보 획득

    GlobalMemoryStatus()함수 MSDN 참고 예제 #include <windows.h> #define DIV 1024 char *divisor = “K”; void main(int argc, char *argv[]) { MEMORYSTATUS stat; GlobalMemoryStatus (&stat); pr…


    Continue reading → Post ID 309

    Posted on 2014-08-09 9:06 AM by andrew Comment
    C/C++ MFC & WINDOWS 참고를 위한 저장물
  • [MFC] Tab 컨트롤에 모달리스창 넣기

    [MFC] Tab 컨트롤에 모달리스창 넣기 Posted by 우담바라  2008/09/30 13:59  삽질/My_Work  원문 : http://blog.naver.com/sanglyn?Redirect=Log&logNo=90016570333 [ 탭컨트롤(Tab Control) ]   1. 대화상자를 이용한 탭컨틀롤 사용을 알아보자….


    Continue reading → Post ID 307

    Posted on 2014-08-09 9:05 AM by andrew Comment
    C/C++ MFC & WINDOWS 참고를 위한 저장물
  • [MFC] 내부 창끼리 메시지 송수신

    클래스간 데이터 전달을 하는 방법이 무엇이 있을까. 1. 전역변수 2. 헤더 include 후 변수 접근 3. SendMessage SendMessage를 이용하면 클래스간 데이터 전달이 용이함을 알고, 사용해보았다(몇번의 삽질과 함께…) ? 1 2 3 4 5 6 7 8 9 10 11 12 LRESULT SendMessage(     UINT m…


    Continue reading → Post ID 305

    Posted on 2014-08-07 11:25 PM by andrew Comment
    C/C++ MFC & WINDOWS 참고를 위한 저장물
  • [MFC] 자식 dialog에서 부모 dialog변수 및 함수 참조

    먼저 자식 Dialog의 cpp파일에 부모 클래스의 헤더파일을 include 해줍니다. #include “ParentDlg.h”   변수의 경우는 ((CParentDlg *)GetParent())->m_flag = TRUE; //부모 클래스의 m_flag 변수 사용시   함수의 경우는 ((CParentDlg *)…


    Continue reading → Post ID 303

    Posted on 2014-08-07 11:23 PM by andrew Comment
    C/C++ MFC & WINDOWS 참고를 위한 저장물
  • VisualStudio 2013 MFC DialogBase APP의 popupDialog의 TOP_MOST 속성 문제..

    VisualStudio 2013 MFC DialogBase APP의 popupDialog의 TOP_MOST 속성 문제..   없애는게 안되서 보니..   SetWindowPos(&wndTopMost, 0, 0, 0, 0, ~WS_EX_TOPMOST);   이렇게 속성을 제거 해주면 된다..   단,, Parent가…


    Continue reading → Post ID 289

    Posted on 2014-08-07 7:47 AM by andrew Comment
    C/C++ MFC & WINDOWS
  • Placing Dialog at the center

    BOOL CTest11Dlg::OnInitDialog(){CDialog::OnInitDialog();CWnd* pWnd = GetDesktopWindow();CenterWindow(pWnd);return TRUE}


    Continue reading → Post ID 271

    Posted on 2014-07-26 5:24 AM by andrew Comment
    C/C++ MFC & WINDOWS 참고를 위한 저장물
  • Visual Studio 2010 이상 에서 OnInitDialog 추가하기

    구글 검색결과 visual studio 2010에서 메시지 처리함수인 OnInitdialog 를 추가 하는 방법은 두가지가 있다. 방법 1. 1. 클래스를 선택하여 속성 창을 연다. 2. 재정의 탭을 선택한다. 3. 리스트에서 OnInitDialog 를 선택하여 추가한다. 방법 2. 1. 헤더 파일의 클래스에 메서드 선언을 한다. class 클래스명::pu…


    Continue reading → Post ID 269

    Posted on 2014-07-26 5:22 AM by andrew Comment
    C/C++ MFC & WINDOWS 참고를 위한 저장물
  • [MFC] CListCtrl 선택된 항목 Index

    // 다중 선택시 void GetIndex() { int nItemCount = m_ctrlList.GetSelectedCount(); POSITION pos = m_ctrlList.GetFirstSelectedItemPosition(); for (int i = 0; i < nItemCount; i++) { int nIndex = m_ctrlList….


    Continue reading → Post ID 267

    Posted on 2014-07-26 5:22 AM by andrew Comment
    C/C++ MFC & WINDOWS 참고를 위한 저장물
  • [MFC] CListCtrl에서 포커스를 잃어도 선택된 아이템 유지하는 옵션

    CListCtrl listctrl; listctrl.ModifyStyle(0, LVS_SHOWSELALWAYS);


    Continue reading → Post ID 265

    Posted on 2014-07-26 5:22 AM by andrew Comment
    C/C++ MFC & WINDOWS 참고를 위한 저장물

Posts navigation

Previous 1 … 3 4 5 … 8 Next


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