I wonder if th开发者_JS百科ere's an easy way of switching between Tab pages of the tab control using Win API w/out using screen coordinates (a sample in c# would be highly appreciated)?
thanks.
It seems like the SelectedTab
property is what you want. Here's sample code.
SendMessage(hWndTabControl, TCM_SETCURFOCUS, tabIndex, 0);
精彩评论