[python-win32] GUI Rad for Python win32

Kerry Oliphant koliphant at qwest.net
Tue Apr 6 13:30:19 EDT 2004


Somesh,

I have never attached a menu to a dialog box.  I know that there is place in
Visual Studio to assign a menu resource to a dialog box.  I have never done
it though.  I tried once to get a menu on my main dialog of a dialog App but
I was not successfull.  If anyone has ever done this I would be interested
in hearing about it.  Reading the Microsoft docs seems to imply that it
cannot be done.  At least not easily.

Have you seen the sample chapters online for Mark and Andy's book.  You
should be able to use Chapter 12 to get you going on the COM link with VB.
I do not have VB and so I have never actually created a GUI in VB and linked
it with python in this way.  Chapter 20 shows you how to do it the way that
I described earlier.  I recommend you still buy the book though.
http://www.oreilly.com/catalog/pythonwin32/chapter/index.html


Kerry





-----Original Message-----
From: python-win32-bounces at python.org
[mailto:python-win32-bounces at python.org]On Behalf Of Somesh Bartakke
Sent: Monday, April 05, 2004 10:30 PM
To: kno at conceptsnrec.com
Cc: python-win32 at python.org
Subject: Re: [python-win32] GUI Rad for Python win32


> In order to create a menu you have to have a SDI or MDI application with a
> mainframe.  You cannot have a generalized menu in a simple dialog box (at
> least not using the standard menu system)  I use the technique I described

in VC++ dialog we can attach menu thru property dialog , is it ?i attached
it to mydialogue box even when am using it with exe prog it worx fine

> If you are really new to win32 programming I would probably go the visual
> basic route to build your GUI.  Then develop COM objects in python that
the
> visual basic GUI can access.  Again, Mark and Andy's book shows you how to
> do this.
at present i dont have copy of this book, may get within 15 days, can you
send me sample app with VB proj etc with a single form ? plz ..

 somesh
Q-Soft Pvt Ltd, Pune-India


_______________________________________________
Python-win32 mailing list
Python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32




More information about the Python-win32 mailing list