stupid problem in Dialog based Apps by MFC
I have a dialog based app.,and I placed an SSTab on my dialog form.then I planed to place a frame on the first tab of SSTab and a text edit control in htis frame.but iI saw that the frame and edit box controls apear in the second tab too.so I wrote this code in the TCL_SELCHANGE message event of the SSTab.It works well now,but i think there is a simple way for this and I don't like this stupid solving way.
void CTxRxDlg::OnSelchangeMainTab(NMHDR* pNMHDR, LRESULT* pResult)
*pResult = 0;
Now dears,is there any simple and pure way to solve this problem?(if can call it problem:))
Thanks in advance