Veeresh Hiremath wrote:
CUsatDlg *dlg= new CUsatDlg; HWND hdlg =dlg->m_hWnd;
you need the actual Window Handle of displayed window.. this willnot help.. either have a pointer to that class. or make some global variable!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief And you