This is a problem I encountered for some time. At that time, it was a single document of a FormView segmentation form. In that formview, it is a Dialog, and then do it in Dialog, I started to do this as a problem. Then use the traditional dialog box to operate, that is, the method of the getParent () or constructing the function is used to acquire the form pointer of that VIEW, then operate, the result is found that the pointer can be taken, but the operation inside is not possible. Now thinking about it should be wrong), no way, I have to seek help to 9CBS, but it is also the solution to the dialog, it is still not. Later, I thought I used the news to solve, first Define a message WM_MYMSG, the response of this message contains the operation you want to do. Next is a message. Here I still make a mistake, I still didn't realize that my View pointer has taken a problem, I use GetParent () -> SendMessage (....) to send a message, the result is of course failure. Think more, I think it should be the point pointer to get the wrong, how to get the correct view of the VIEW ?? I first Think of using FindWindow to get hwnd, then use: SendMessage (hwnd, ....) to send a message, write sudden discovery, the view is a man view, there is no Title, this kind, not good to take hwnd ( Can you take it? Which one can correct it?) After this method is, I have to think about other methods again. Since it is the structure of the document view, is it possible with getActiveView ()? Cmainframe * PWND = *); Hwnd hwnd = pWnd-> getSafehWnd (); pwnd-> getActiveView () -> sendMessage (wm_mymsg, ....); feeling should be, run, send a message, finally succeeded! I always don't feel too perfect, and why getParent () or getowner () can't get the correct pointer, I have never understood that cdialog is inherited, why cdialog can take, and cformview can't be? Maybe it's STYLE Problem (because it is divided into form view, my view style is Child), but which friend can give a exact explanation?