![]() |
#1
|
|||
|
|||
Mimicing Maximize Button
I am running an application and I am trying to mimic the maximize button in the upper right corner of the application. I don't want it to be "full-screen" when I open it because I lose the menu bar I created in my application.
Is there a way to do this? Thanks, Chris |
#2
|
|||
|
|||
The following code sample shows how to programmatically maximize the Vizard window:
Code:
import viz import vizact import win32con import win32gui viz.go() def MaximizeWindow(): win32gui.ShowWindow(viz.window.getHandle(),win32con.SW_MAXIMIZE) vizact.onkeydown(' ',MaximizeWindow) |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A door question... left button mouse | Sakiot | Vizard | 3 | 08-26-2011 12:45 AM |
Feedback: "Run Script" button | pcatalano | Vizard | 3 | 03-28-2011 07:25 AM |
Push a button | snoopy78 | Vizard | 1 | 07-20-2009 09:39 AM |
Create Button or Text | Chrissy2009 | Vizard | 1 | 07-15-2009 05:34 PM |
button problems | cade_mccall | Vizard | 3 | 02-22-2007 09:48 AM |