示例#1
0
	def __init__(self, parent, x, y, w, h, *styles):
		self.Style= Styles
		self.Msg= Msgs 
		
		
		styles += 'subclass',
		control.BaseControl.__init__(self, parent, "SysTreeView32", "", x, y, w, h, *styles)	
		self._client_buffer = create_string_buffer(512)
		self._client_IterPath=ITERPATH()

		self._client_p_SortFunc = TVCOMPAREFUNC(self._client_SortFunc)
		self._client_CompFunc = None
示例#2
0
	def __init__(self, hwnd, *styles):
		self.Style= Styles
		self.Msg= Msgs 
		
		
		styles += 'subclass',
		control.ControlFromHandle.__init__(self, hwnd, *styles)
		self._client_buffer = create_string_buffer(512)
		self._client_IterPath=ITERPATH()

		self._client_p_SortFunc = TVCOMPAREFUNC(self._client_SortFunc)
		self._client_CompFunc = None