C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[48009] Re:[질문]BC++에서 DLL로 만든폼을 VC++에서 띄울때...
dd [] 1130 읽음    2007-02-07 14:45
ParentWindow속성을 사용해보세요.
다음은 빌더 도움말입니다:

TWinControl::ParentWindow

Reference to parent's underlying control.

__property HWND ParentWindow = {read=FParentWindow, write=SetParentWindow, nodefault};

Description

ParentWindow refers to the window handle that underlies the parent control. To designate a non-VCL control as a parent, assign that control뭩 handle to ParentWindow. This assignment causes the control to be moved into the parent뭩 screen area. Setting ParentWindow has no effect if Parent is not NULL.

TActiveXControl objects use ParentWindow to insert a control in an ActiveX container window. ParentWindow is set automatically when a parent window is passed to the control뭩 constructor.

Use ParentWindow with windowed controls that are packaged in a DLL. This allows references to the control by applications based on other applications.

시몬 님이 쓰신 글 :
: 안녕하세요 항상 도움을 받고 있는 입문자입니다.
:
: 다름이 아니라 이곳의 여러 글을 참고해서 BC++에서 DLL로 만든폼을 VC++에서 띄운것 까지는 성공
:
: 하였습니다.
:
: 그런데 'VC++ 다이얼로그'와 'BC의 폼' 이렇게 2개가 뜨더군요.
:
: 제가 하고자 하는것은 VC++의 다이얼 로그 안에 BC++의 폼을 삽입하려고 하는데
: BC++의 메인폼의 Parent를 VC++의 다이얼로그 핸들을 넣었더니 에러가 발생합니다.
:
: 혹시 VC++다이얼로그 안에 BC++에서 만든 폼을 넣는것은 불가능한건가요?
: 고수님의 조언을 부탁드립니다

+ -

관련 글 리스트
47930 [질문]BC++에서 DLL로 만든폼을 VC++에서 띄울때... 시몬 874 2007/01/29
48009     Re:[질문]BC++에서 DLL로 만든폼을 VC++에서 띄울때... dd 1130 2007/02/07
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.