Responds as if the control received a specified Windows message.
만약 control에 기술되어진 메세지를 받으면 응답을 한다....
function Perform(Msg: Cardinal; WParam, LParam: Longint): Longint;
procedure TForm1.Image1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
ReleaseCapture;
Self.Perform (WM_SysCommand,$F012,0); <--- 요부분에서....
end;
이부분에서 perform 이란걸 보면 기술되어진 윈도우 메세지에 대한 응답을 보내는걸로 나와있는데여,
여기에서 control이란 wm_syscommand 를 뜻하고 $F012 가 wparam 값이고 0이 lparam 인데여..... 여기에 쓰인 $F012 값이 뜻하는건 도데체 어떤 뜻이죠?
$F012는 컨트롤을 드래그해서 이동시키는 WM_SYSCOMMAND메세지의 플래그중 하나입니다.
델파이의 폼디자이너를 연상하시면 될듯...
^^ 항상 즐코하세요...
무니스 wrote:
> Responds as if the control received a specified Windows message.
> 만약 control에 기술되어진 메세지를 받으면 응답을 한다....
>
> function Perform(Msg: Cardinal; WParam, LParam: Longint): Longint;
>
> procedure TForm1.Image1MouseDown(Sender: TObject; Button: TMouseButton;
> Shift: TShiftState; X, Y: Integer);
> begin
>
> ReleaseCapture;
> Self.Perform (WM_SysCommand,$F012,0); <--- 요부분에서....
>
> end;
>
> 이부분에서 perform 이란걸 보면 기술되어진 윈도우 메세지에 대한 응답을 보내는걸로 나와있는데여,
> 여기에서 control이란 wm_syscommand 를 뜻하고 $F012 가 wparam 값이고 0이 lparam 인데여..... 여기에 쓰인 $F012 값이 뜻하는건 도데체 어떤 뜻이죠?
>
>