I tried to fill a MDI child at start up or on open to the full size of the
enclosing frame but
self.ShowWindow(win32con.SW_SHOWMAXIMIZED)
or
self.SetWindowPlacement(placement)
did not work (self is the MDI Child PyCWnd).
Did I miss something or is it impossible?
Many thanks for
Hello,
i try to check, if a file on network-share is read only. I tried
different ways.
filename = r'//server/share/filename.txt'
1:
import win32api, win32con
fileAtt = win32api.GetFileAttributes(filename)
if (fileAtt & win32con.FILE_ATTRIBUTE_READONLY):
print("READONLY")
2:
import os,