i am making dialog " please wait ... " :

When i click BUTTON to connect server example :HOSTING ----->show dialog please wait...
and when finish connected auto close dialog.

I maked with Multi thread as in this forum ,but show 2 icon on a program,

and i use ShowWindow to start( has updateWindow,...) ,DestroyWindo to end(close) dialog wait -But error display dialog not normal.

You can help me?

please help me, send me your code example about your dialog wait's .

Thanks so much,