Z zh06j60w Unregistered / Unconfirmed GUEST, unregistred user! 2006-05-20 #2 怎样用发送消息来改变活动窗口的 MaxWidth和MaxHeight
P phzongna Unregistered / Unconfirmed GUEST, unregistred user! 2006-05-20 #3 WndProc(var Message: TMessage)<br>begin<br> From1.Maxwith := Message.lparam;<br> From1.MaxHeight := Message.wparam;<br> From1.Flush;(忘了,反正就重新刷新一下了)<br>end;
WndProc(var Message: TMessage)<br>begin<br> From1.Maxwith := Message.lparam;<br> From1.MaxHeight := Message.wparam;<br> From1.Flush;(忘了,反正就重新刷新一下了)<br>end;
Z zh06j60w Unregistered / Unconfirmed GUEST, unregistred user! 2006-05-20 #6 怎样使用SendMessage()函数来改变窗口的MaxWidth和MaxHeight
J josan2005 Unregistered / Unconfirmed GUEST, unregistred user! 2006-05-20 #7 function SendMessage(hWnd: HWND; Msg: UINT;wParam:WPARAM; lParam: LPARAM):LRESULT;stdcall;
Z zh06j60w Unregistered / Unconfirmed GUEST, unregistred user! 2006-05-20 #8 能把改变窗口的MaxWidth和MaxHeight 的例子给我吗
J josan2005 Unregistered / Unconfirmed GUEST, unregistred user! 2006-05-20 #9 SetWindowPos($000408E8,HWND_TOPMOST,0,0,200,200,0);
J josan2005 Unregistered / Unconfirmed GUEST, unregistred user! 2006-05-20 #10 var<br>Result:THandle;<br>begin<br>Result:=Findwindow(nil,'Form1');//Form1应用程序标题<br>SetWindowPos(Result,HWND_TOPMOST,0,0,100,200,0); //左上角开始0,0,100宽,200高<br>end;
var<br>Result:THandle;<br>begin<br>Result:=Findwindow(nil,'Form1');//Form1应用程序标题<br>SetWindowPos(Result,HWND_TOPMOST,0,0,100,200,0); //左上角开始0,0,100宽,200高<br>end;