Hi,
I am using VC++6.0, MFC.
I am working on a MDI application, and got stuch place.
I ahave created a Modeless dialog, and attached it with the main frame.

when I move the FRAME WINDOW , this dialog should move along with the frame, and it is happening(here DIALOG BOX is a seprate window,displaying seprately on the desktop, attached with the frame)), and as per the app. needs, it should.

Now If I move dialog window , than it is moving, and detaches from MainFrame.
Now my objective is that, this dialog window should not move at al(WHEN I try to move DIALOG WINDOW NOT MAINFRAME WINDOW))l,so ithat it will not detach from Main Frame.

Which message Map handler I should use.Can u pl. suggest some solution in this regard.

Regs