On 10/12/10 6:32 PM, Carey Gagnon wrote:
> I've been playing with an appwizrd app to see how to remove certian menu
> items from the standard menu bar and certain menus all together.
> Much of what I was trying to accomplish, I have and quite simply. The only
> thing I'm stumped on now is the Window menu.
>
> I inserted the following into my apps code (FrmBase.py) to try and get the
> Menu id and was surprised at what I got.
>
> idx = self.MenuBar.getMenuIndex("Window")
> print idx.
>
> This returned the value None.
>
> I've looked in dMenuBar, dBaseMenu, dMenu, dMenuItem and can't find any
> reference to the "Window Menu"
>
> What file can I find the code for this in?

The Window menu gets added automatically by Windows, when MDI=True. I think you 
need 
to use Windows API functions to access it.

Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to