Set focus on tab of property page on mfc

21 views Asked by At

MFC: I like to set the focus on the tab of the property sheet. Using the tab key, I can reach the tab, but I did not find a way of doing this by calling a function. The problem is that the tab is not one of the controls in the page, and I do not know where to find the window handle for the tab. My goal is to prevent any of the controls on the property page to receive the focus when I activate the property page. Same behavior as if I navigate to the page using the arrow keys instead of clicking on the tab.

Any suggestions how to accomplish this?

0

There are 0 answers