|
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);
:
: 그럼 좋은 하루 되시길..
|