Пример #1
0
 def GetRange(self):
     start = c_int()
     stop = c_int()
     self.SendMessage(self.Hwnd, self.Msg.UDM_GETRANGE32, byref(start),
                      byref(stop))
     return start.value, stop.value
Пример #2
0
	def GetIconSize(self):
		w = c_int()
		h = c_int()
		if not comctl32.ImageList_GetIconSize(self.handle, byref(w), byref(h)):
			raise RuntimeError("could not retrieve icon size")
		return w.value, h.value
Пример #3
0
 def GetIconSize(self):
     w = c_int()
     h = c_int()
     if not comctl32.ImageList_GetIconSize(self.handle, byref(w), byref(h)):
         raise RuntimeError("could not retrieve icon size")
     return w.value, h.value
Пример #4
0
	def GetRange(self):
		start=c_int()
		stop=c_int()
		self.SendMessage(self.Hwnd, self.Msg.UDM_GETRANGE32, byref(start), byref(stop))
		return start.value, stop.value