Is it a Modal Dialog then the hiding of the dialog will make the application looked hanged . And as far as hiding the dialog is dont send a WM_HIDEWINDOW . do dlg.ShowWindow(False) before you do a DoModal.
Regards, FarPointer Blog:FARPOINTER
If you're talking about the pin list in the XP Start menu, MS purposely did not create an interface for apps to access that list. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ