For some reason I can't get this to work. It's a single-column list box, and I'm using the windowsx macro, although I even tried:
SendMessage(hLb, LB_SETCURSEL, (WPARAM)3, 0);
...but that didn't work either. Oddly, it returns LB_ERR, but GetLastError() says that the operation succeeded! Everything else, such as LB_GETCURSEL does work. Any ideas?