[python-win32] Need help in MKS

2009-03-09 Thread kerneldude
Hi All, I just started working on Mouse, keyboard and screen related automation work, But do not know from where to start as i am newbie with python. If any one knows good newbie tutorial, it would be great help of mine. (I did google also but could not get some thing for basics). Many thanks i

Re: [python-win32] PyCScrollView with no PyCDocument?

2009-03-09 Thread Greg Ewing
Well, I think I've found a workaround. The following hack seems to create something looking enough like a PyCDocument to keep it happy while creating a PyCView: dummy = win32ui.CreateRichEditView().GetDocument() The result of this appears to be a PyCDocument that's wrapping a null pointer. The

Re: [python-win32] PyCScrollView with no PyCDocument?

2009-03-09 Thread Greg Ewing
Mark Hammond wrote: No not only can I no longer answer your question, I'm quite confident I never could :( Alternatively, is there a way of getting a valid DocTemplate without having to put a resource in the executable? Some kind of in-memory resource creation or something? -- Greg __

Re: [python-win32] PyCScrollView with no PyCDocument?

2009-03-09 Thread Mark Hammond
On 9/03/2009 9:49 PM, Greg Ewing wrote: Is there any way of creating a ScrollView without needing a Document? One of the problems with win32ui and the entire MFC world is that you have 3 layers; pywin32 on top of MFC, which is on top of the core win32 ui API (and now appears to be kinda via A

Re: [python-win32] COM server accessible via "GetObject"

2009-03-09 Thread Mark Hammond
On 7/03/2009 12:46 PM, Greg Antal wrote: there I've missed it. (Do I have to deal with Monikers and the RunningObjectTable myself? If so, exactly what are the arguments for the ROT's "Register" method?) I'm afraid you do, and I'm afraid I can't point you at a reference at the moment (if I coul

[python-win32] PyCScrollView with no PyCDocument?

2009-03-09 Thread Greg Ewing
Is there any way of creating a ScrollView without needing a Document? I just want a scrollable user-drawable area, but CreateView insists that I supply a Document. What's more, the only way to create a Document seems to be to use a DocTemplate, and the only way to get one of those is to use a res