delphi中覆盖最大化消息
来源:互联网 发布:数据库设计各阶段任务 编辑:程序博客网 时间:2024/06/06 02:08
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TForm1 = class(TForm)
private
{ Private declarations }
procedure WMGetMinMaxInfo(var Msg: TWMGetMinMaxInfo);
//取得最大化的消息
message WM_GETMINMAXINFO;
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.WMGetMinMaxInfo(var Msg: TWMGetMinMaxInfo);
begin
inherited;
with Msg.MinMaxInfo^ do
begin
ptMinTrackSize.x:= form1.width;//最小化时的宽度
ptMaxTrackSize.x:= form1.width;//最大化时的宽度
ptMinTrackSize.y:= form1.height;//最小化时的高度
ptMaxTrackSize.y:= form1.height;//最大化时的高度
end;
end;
end.
- delphi中覆盖最大化消息
- Delphi中捕捉窗体的最小化、最大化、还原消息
- Delphi 消息实现窗口最小化,最大化,关闭(delphi)
- Delphi窗体中禁用最大化按钮
- Delphi中消息框
- Delphi中判断窗体最大化和最小化事件
- [转载]Delphi中消息经验总结.
- delphi中消息的使用
- delphi 子窗体最大化
- 屏蔽 最大化消息
- WPF最大化避免覆盖任务栏
- 理解Windows消息(在Delphi中)-
- Delphi中Click消息的实质?
- Delphi中对消息的处理
- 在delphi线程中实现消息循环
- delphi中Message消息的使用方法
- delphi中Time消息的使用方法
- Delphi中对消息的处理
- SpringMVC 实例 --非注解
- BusyBox 简化嵌入式 Linux 系统
- 操作系统c语言版的处理机调度
- Andorid x86博客网址推荐
- ASP.NET AJAX入门系列:使用ScriptManagerProxy控件
- delphi中覆盖最大化消息
- JS 代码模式1
- 映射需要的属性
- 微软Windows Speech SDK编程入门
- C#中逐行向txt中写字符串
- 过滤器的理解
- 图和网络分析重要库简介
- 实现基于Ajax的无限级菜单
- findViewById返回null的诡异情况