URN Logo
UNIX Resources » Linux » China Linux Forum » Python 编 程 » 12 » wxMDIParentFrame最大化窗口的问题
announcement 声明: 本页内容为中国Linux论坛的内容镜像,文章的版权以及其他所有的相关权利属于中国Linux论坛和相应文章的作者,如果转载,请注明文章来源及相关版权信息。
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.net
  业界新闻与评论
  自由软件杂谈
  IT 人生
  Linux软件快递
  翻译作坊
  Linux图书与评论
  GNU Emacs/XEmacs
  Linux 中文环境和中文化
  Linux桌面与办公软件
  Linux 多媒体与娱乐版
  自由之窗Mozilla
  笔记本电脑上的Linux
  Gentoo
  Debian 一族
  网络管理技术
  Linux 安装与入门
  WEB服务器和FTP服务器
  域名服务器和邮件服务器
  Linux防火墙和代理服务器应用
  文件及打印服务器
  技术培训与认证
  Linux内核技术
  Linux 嵌入技术
  Linux设备驱动程序
  Linux 集群技术
  LINUX平台数据库
  系统和网络安全
  CPU 与 编译器
  系统计算研究所专栏
  Linux下的GUI软件开发
  C/C++编程版
  PHP 技 术
  Java&jsp技术
  Shell编程技术
  Perl 编 程
  Python 编 程
  XML/Web Service 技术
  永远的Unix
  FreeBSD世界
   
wxMDIParentFrame最大化窗口的问题
wxMDIParentFrame最大化窗口的问题 - yahoo21cn [2005-02-24 10:09 | 141 byte(s)]
 
Re: wxMDIParentFrame最大化窗口的问题 - limodou [2005-02-24 12:12 | 62 byte(s)]
 
Re: wxMDIParentFrame最大化窗口的问题 - yahoo21cn [2005-02-24 17:32 | 545 byte(s)]
 
Re: wxMDIParentFrame最大化窗口的问题 - limodou [2005-02-24 18:17 | 820 byte(s)]
 
Re: wxMDIParentFrame最大化窗口的问题 - yahoo21cn [2005-02-24 21:48 | 106 byte(s)]
 
Re: wxMDIParentFrame最大化窗口的问题 - limodou [2005-02-24 23:22 | 22 byte(s)]
 
 
Re: wxMDIParentFrame最大化窗口的问题 - limodou [2005-02-25 00:58 | 10 byte(s)]
 
Subject: wxMDIParentFrame最大化窗口的问题
Author: yahoo21cn    Posted: 2005-02-24 10:09    Length: 141 byte(s)
[Original] [Print] [Top]
虽然指定了style为wx.MAXIMIZE,而且在newedit也确实是一开启就最大化,但是如果双击pyw文件运行的时候,wx.MAXIMIZE就失效了,哪位遇到过同样的情况?
[Original] [Print] [Top]
Subject: Re: wxMDIParentFrame最大化窗口的问题
Author: limodou    Posted: 2005-02-24 12:12    Length: 62 byte(s)
[Original] [Print] [Top]
调用Frame类的SetMaxize()方法。

这个更可靠。
----
[Original] [Print] [Top]
Subject: Re: wxMDIParentFrame最大化窗口的问题
Author: yahoo21cn    Posted: 2005-02-24 17:32    Length: 545 byte(s)
[Original] [Print] [Top]
未找到SetMaxize()或SetMaxSize()

另外limodou是否知道如何修改已经存在的frame的style,我在下面的帖子里叙述了这个问题。
http://www.linuxforum.net/forum/showflat.php?Cat=&Board=python&Number=543071&page=0&view=collapsed&sb=5&o=&fpart=
[Original] [Print] [Top]
Subject: Re: wxMDIParentFrame最大化窗口的问题
Author: limodou    Posted: 2005-02-24 18:17    Length: 820 byte(s)
[Original] [Print] [Top]
方法名我写错了,是 Maximize()

你看一下文档中的wxWindows中的方法说明,下面是我摘抄的:

wxWindow::SetWindowStyle
void SetWindowStyle(long style)

Identical to SetWindowStyleFlag.



--------------------------------------------------------------------------------

wxWindow::SetWindowStyleFlag
virtual void SetWindowStyleFlag(long style)

Sets the style of the window. Please note that some styles cannot be changed after the window creation and that Refresh() might be called after changing the others for the change to take place immediately.

See Window styles for more information about flags.

我没有试过,你可以试试看。有结果报告一声。
----
[Original] [Print] [Top]
Subject: Re: wxMDIParentFrame最大化窗口的问题
Author: yahoo21cn    Posted: 2005-02-24 21:48    Length: 106 byte(s)
[Original] [Print] [Top]
Maximize()有效,以后用这个了。
wxWindow::SetWindowStyle也是有效的,有了这个,程序可以简化许多了。
[Original] [Print] [Top]
Subject: Re: wxMDIParentFrame最大化窗口的问题
Author: limodou    Posted: 2005-02-24 23:22    Length: 22 byte(s)
[Original] [Print] [Top]
你主要想写变什么风格?
----
[Original] [Print] [Top]
Subject: Re: wxMDIParentFrame最大化窗口的问题
Author: yahoo21cn    Posted: 2005-02-25 00:52    Length: 13 byte(s)
[Original] [Print] [Top]
wxSTAY_ON_TOP
[Original] [Print] [Top]
Subject: Re: wxMDIParentFrame最大化窗口的问题
Author: limodou    Posted: 2005-02-25 00:58    Length: 10 byte(s)
[Original] [Print] [Top]
哦。明白。
----
[Original] [Print] [Top]
« Previous thread
about binary operation
Python 编 程
12
Next thread »
[啄木鸟社区]本周六例会将请来名家讲座 - 庄秀丽 毛向辉
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
备案序号: 京ICP备05006143    webmaster: webmaster@unixresources.net
This page created on 2008-07-17 04:11:19, cost 0.04092001914978 ms.