[python-win32] unable to receive button click notifications

2007-10-17 Thread Christian K.
Hi, I'm just trying the pywin gui examples and I'm wondering why I won't receive any BN_CLICKED notifications in the code attached. Can anyone help? Christian from pywin.mfc import dialog, window import win32ui import win32con import win32api def MakeDlgTemplate(): style =

[python-win32] Fwd: Regarding Embedded Pyhton

2007-10-17 Thread lakki p
-- Forwarded message -- From: lakki p [EMAIL PROTECTED] Date: Oct 17, 2007 3:31 PM Subject: Regarding Embedded Pyhton To: python-win32@python.org Hi, i try to execute attached example.but it showing error wchar.h unable to open. just i commented where it was showing. still i am

Re: [python-win32] Regarding Embedded Pyhton

2007-10-17 Thread Paul Moore
On 17/10/2007, lakki p [EMAIL PROTECTED] wrote: Hi, i try to execute attached example.but it showing error wchar.h unable to open. just i commented where it was showing. still i am getting errors like unresolved external reference Py_Initialize and Py_Finalize and PyInt_FromLong. Thanks,

[python-win32] Automating logon/logoff

2007-10-17 Thread Matt Herbert (matherbe)
Hello all, I am stumped trying to figure out how I can automate the login/logoff procedure on Windows. Here is what I know so far. First, I can logoff the system pretty easily using win32api.ExitWindowsEx() function. Second, I can auto logon the system (after a reboot) using the special registry

Re: [python-win32] Automating logon/logoff

2007-10-17 Thread Larry Bates
Matt Herbert (matherbe) wrote: Hello all, I am stumped trying to figure out how I can automate the login/logoff procedure on Windows. Here is what I know so far. First, I can logoff the system pretty easily using win32api.ExitWindowsEx() function. Second, I can auto logon the system (after

Re: [python-win32] Automating logon/logoff

2007-10-17 Thread Paul Peavyhouse
I do this in my EggplantHelper (don't be fooled by the name, it has nothing to do w/ Eggplant...a rename is pending). http://wiki/Main/EggplantHelper from xmlrpclib import * s = ServerProxy('http://x.x.x.x:7399') s.win32.LogOffAndOnAs('', 'username', 'password') Pv On 10/17/07, Larry Bates

Re: [python-win32] unable to receive button click notifications

2007-10-17 Thread Mark Hammond
I'm just trying the pywin gui examples and I'm wondering why I won't receive any BN_CLICKED notifications in the code attached. Can anyone help? It might be that you are using win32ui, and therefore using MFC, and IIRC, it has 'Reflected Messages' that may send the notification back to the