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
[21600] Re:Re:Re:Re:[질문] 동작의 원리에대해서 한가지만 더 ^^
진수.네모 [miman101] 1313 읽음    2002-09-23 18:36
ReleaseCaputre(); 함수는 마우스 왼쪽 버튼으로 창을 잡았을때?(도움말 인용) 이를 풀어줘
마우스의 입력을 받아 들일수 있게 한후,

sendmessage()로 창의 캡션바를 클릭했을때와 똑같은 동작을 하라고 메세지를 보내는 건가요?

폼의 이동은 sendmessage로 이루어 지는 거 맞나요? 어떻게 폼이 이도을 하는 건가요?

--  아래에 nonclient area 는 윈도우의 어느 영역을 말하는 건가요?

ReleaseCapture()
- The ReleaseCapture function releases the mouse capture from a window in the current thread and restores normal mouse input processing. A window that has captured the mouse receives all mouse input, regardless of the position of the cursor, except when a mouse button is clicked while the cursor hot spot is in the window of another thread.

WM_NCLBUTTONDOWN
- The WM_NCLBUTTONDOWN message is posted when the user presses the left mouse button while the cursor is within the      nonclient     area of a window. This message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted.





초짜 님이 쓰신 글 :
: 0xf012 << 이걸 쓰기 싫어하시는거 같아서리..
:
: SendMessage( Handle,WM_SYSCOMMAND,0xf012,0 ); 이 메시지를 아래처럼 바꿔보세요.
:
: SendMessage(Handle, WM_NCLBUTTONDOWN, HTCAPTION, 0);
:
: 그럼 좋은 하루 되시길..

+ -

관련 글 리스트
30741         Re:Re:[질문] 폼에 캡션바 그리고 이동하기? 진수.네모 983 2002/09/23
21594         Re:Re:[질문] WM_SYSCOMMAND에서 wParam 으로 0xf012 보내는거 맞나요? 진수.네모 2094 2002/09/23
21596             Re:Re:Re:[질문] 질문에 대한 답변은 아니지만.... 초짜 944 2002/09/23
21600                 Re:Re:Re:Re:[질문] 동작의 원리에대해서 한가지만 더 ^^ 진수.네모 1313 2002/09/23
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.