I'm trying to make a win32 application consisting of one treeview and one listbox side by side. The problem i'm having is that despite seemingly passing the same size to each control on creation there's a weird offset between the two that I can't explain.....
Ignore me, I'm an idiot, 5 mins more reading and I could've avoided posting here. For anyone who's remotely interested, it's because according to MSDN "Normally, the system sizes a list box so that the list box does not display partial items." so adding LBS_NOINTEGRALHEIGHT as the list-box style sorted this.....
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.