I am making a python program that moves the desktop icons using LVM_SETITEMPOSITION from winapi but I have a problem with commctrl.LVM_SETITEMPOSITION and it gives me an error 'int' object is not callable. Here is my code: import win32gui import commctrl from time import sleep from ctypes import wintypes hd = wintypes.HWND hd = win32gui.FindWindow("Progman", None) hd = win32gui.FindWindowEx(hd, 0, "SHELLDLL_DefView", None) hd = win32gui.FindWindowEx(hd, 0, "SysListView32", None) i = 0 while i < 1000: commctrl.LVM_SETITEMPOSITION(hd, 0, i, i) i+100 sleep(1) Continue reading...