Stav 23.06.2026

This commit is contained in:
2026-06-23 15:20:56 +02:00
commit 6d91e83e8c
5670 changed files with 1145969 additions and 0 deletions
@@ -0,0 +1,13 @@
# Run this as a python script, to gray "close" off the edit window system menu.
import win32con
from pywin.framework import interact
if __name__ == "__main__":
import demoutils
if demoutils.NeedGoodGUI():
win = interact.edit.currentView.GetParent()
menu = win.GetSystemMenu()
id = menu.GetMenuItemID(6)
menu.EnableMenuItem(id, win32con.MF_BYCOMMAND | win32con.MF_GRAYED)
print("The interactive window's 'Close' menu item is now disabled.")