[python-win32] number of arguments to CreateControl

Thomas Barket thomas_barket@yahoo.com
Sat, 28 Dec 2002 02:46:38 -0800 (PST)


ive noticed that the function call CreateControl, used
to instantiate activex controls, permits only 6
arguments instead of the usual 10.  

class Control (in activex.py) has the following:

def CreateControl(self, windowTitle, style, rect,
parent, id):
clsid = str(self._GetControlCLSID())
		self.__dict__["_obj_"] =
win32ui.CreateControl(clsid, windowTitle, style, rect,
parent, id)

=====
tbarket@OptOnline.net

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com