怎么实现象DELPHI中的那样的便界面真正的最大化,整个屏幕只有程序界面,(50分)

  • 主题发起人 lovelyman
  • 开始时间
L

lovelyman

Unregistered / Unconfirmed
GUEST, unregistred user!
怎么实现象DELPHI中的那样的使程序界面真正的最大化,整个屏幕只有程序界面,无任何别的
显示于屏幕上。连工具栏都看不到。
在线等待!

我试设了一下,但没有成功,具体怎么实现呀?

多谢
 
Form1.FormStyle:=fsStayOnTop;
Form1.Width:=Screen.width;
Form1.Height:=Screen.Height+24;
Form1.Left:=0;
Form1.Top:=0;
分~~~~~~~~~~~~~
 
BorderStyle := bsSingle;
WindowState := wsNormal;
OnActive事件中如下代码:
top:=0;
left:=0;
width:=screen.Width ;
height:=screen.Width ;
 
BorderStyle := bsNone;
WindowState := Max.....;
 
设置WindowState 属性为:
WindowState := wsMaximized
 
上面几种方法我一一测过,但工具栏仍能看到呀,
但在WINDOWS下的DELPHI可以。

 
各位,有没有好的办法呀?
 
SetWindowPos(Self.Handle,HWND_TOPMOST ,0,0,Screen.Width,Screen.Width,SWP_SHOWWINDOW );
 
多人接受答案了。
 
顶部