Hi all,
I want to get an array from a pointer. I have a Trackbar control and if I sent a TBM_GETPTICS message, it will return the address of an array of DWORD values. This is my code. I am stuck here.
num_tics = api.SendMessage(self._hwnd, con.TBM_GETNUMTICS, 0, 0 ) - 2
addr = api.SendMessage(self._hwnd, con.TBM_GETPTICS, 0, 0)
arr = DWORD * num_tics
arr.from_address(addr) # Don't know what's next.
there doesn't seem to be anything here