블로그 이미지
평강왕자

카테고리

분류 전체보기 (35)
Programming Lv1 (32)
Programming LV2 (0)
취미 (3)
Total
Today
Yesterday

달력

« » 2024.5
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

공지사항

최근에 올라온 글

'Programming Lv1'에 해당되는 글 32건

  1. 2011.06.29 MFC 와 C# Dll간 연동시 Window Form 컨트롤
  2. 2011.06.28 개발자
WinFormsControl을 통해서 컨트롤 변수를 만든다.

CWinFormsControl<GraphTest::UserControl1> m_Graph;

CWinFormsControl : Window Form 컨트롤
GraphTest : 프로젝트명
UserControl1 : Window Form 명
m_Graph : 변수명

Window Form 변수에 Control 을 포인터를 집어 넣는다.
그냥
GraphTest::UserControl1^ winFormControlVal = gcnew GraphTest::UserControl1;
할경우에는 C#의 this가 GraphTest.UserControl1 로 설정되어 컨트롤이 불가능하다.

GraphTest::UserControl1^ winFormControlVal = (GraphTest::UserControl1^)m_Graph.GetControl();
할경우에는 C#의 this가 ControlAxSourcingSite[GraphTest.UserControl1] 로 설정되어 컨트롤이 가능하다.

'Programming Lv1 > MFC' 카테고리의 다른 글

MFC 바탕화면 해상도 가져오기  (0) 2011.08.16
MFC Argument 가져오기  (0) 2011.08.16
MFC Title bar 제거  (0) 2011.08.16
MFC C# DLL Form 붙이기  (0) 2011.07.21
MFC C# DLL 함수 호출시 배열형태 인자값 전달  (0) 2011.07.21
Posted by 평강왕자
, |

개발자

Programming Lv1 / 2011. 6. 28. 16:28
개발자로 지낸지 이제 1년이 조금 넘어가고있다.

엎어지고 깨지더라도 즐겁고 유쾌하고 머리가 뻥뚫리는 이 느낌에 희열을 느껴 본 후론 그만 둘 수가 없다.
Posted by 평강왕자
, |

최근에 달린 댓글

글 보관함