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
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
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