请问如何使一个窗口按住标题栏后不可拖动?
解决方案 »
- 如何在XMLDocument中增加xmlns:xsi和xsi:schemaLocation等信息?
- 求dxsock的帮助文档或示例
- 急急急!!!如何将阳历转换成阴历?在线等
- CheckListBox的每個item前面如何加個小圖片?
- ScrollBox不支持鼠标滚轮?怎么办?
- 结交朋友!
- provider cannot be found 大伙帮我解决一下嘛!
- 如何把编译的ACTIVEX插件加入到IE浏览器中!
- try...finally..语句有什么用,那些地方最好么用这一类语句的?
- 请各位大侠指点一下,关于com、com+方面的知识,有好文章推荐一下也可以,最好写个把例子,多谢多谢!
- 如何取得两个时间点的间隔?精确到分
- 程序为什么总是被最小化
begin
DefaultHandler(Msg);
if Msg.Result =HTCAPTION then
Msg.Result:= HTCLIENT;
end;
BOOL SetWindowPos(
HWND hWnd, // handle to window
HWND hWndInsertAfter, // placement-order handle
int X, // horizontal position
int Y, // vertical position
int cx, // width
int cy, // height
UINT uFlags // window-positioning options
);
uFlags 这个参数为 SWP_NOMOVE