Ok, ok

Thanks to all of you for your precious help.

I solved the situation by the following way:

Code:
int CALLBACK DlgProc(......)

   switch (message) {
      .....
      .....
      case WM_NCHITTEST :
          return HTCLIENT ;
          break ;
      .......
   }
By this way, the mouse appears to be into the dialog even if the mouse is put on the title bar.

Thank you very much!!