Thanks. It works ! But there is still a problem. If use your codes in my program, the CChildFrame will not have a title. I think what your code does is to make the CChildFrame's title to NULL and set the CMainFrame's title to required text. Except this problem, it works fine.


Originally posted by t2di4u
sorry , I forgot to tell you that you should get rid of the main frame's OnUpdateFrameTitle.