Hi Bob,
Coming from a VC++ to python was not that hard, but there are some
mentality changes and "gotchas" when i took up python. In your case, if
you want to learn MFC,
well, actaully its going to a lot more "gotchas" and finer mentality
changes. But i would recommend the following book if yo
> I'd like to have this program run each time I start the IDE. How do I
> do that?
Check out pywin.framework.intpyapp - you will find almost all the pythonwin
"app" framework there, including sys.argv handing. Specifically, "/run"
might be the option you want (and alternatively, patches that get
Mark Hammond wrote:
import win32ui
app = win32ui.GetApp()
o=app.OpenDocumentFile("c:\\whatever\\filename")
o
o.GetEditorView().GetParent().GetParent().GetParent().MoveWindow((0,0,10,10)
)
Obviously lots of GetParent() calls - in the real world you would loop until
you hit a frame