Thanks a LOT Mr.Hung Son. But I'm sorry on my part to not to be clear first. My toolar is not for a Dialog based.... Sorry! ... I'm making an IE ToolBar, which doesn't consist of these CMainFrame, and above said functions. But what i could do is ... Thanks! .... i will certainly give it a try, as I got some idea how to proceed. Thanks Once again for taking some time. Regards Sanjeev