Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!janus.Berkeley.EDU!kipnis From: kipnis@janus.Berkeley.EDU (Gary Kipnis) Newsgroups: comp.windows.ms Subject: Modal Dialog Box question Message-ID: <35985@ucbvax.BERKELEY.EDU> Date: 3 May 90 15:18:14 GMT Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: kipnis@janus.Berkeley.EDU (Gary Kipnis) Organization: University of California, Berkeley Lines: 12 Hi, I have a slight problem when minimizing main window through a modal dialog box. I have a modal dialog box, which has minimize button. When the button is pressed, I call ShowWindow(hWndMain, SW_MINIMIZE). Now the main window is iconofied, but I cannot de-iconify it because the dialog box is running, i.e. double clicking on the icon is ignored. I don't want to use modeless dialog box. Does anybody has any suggestions on how to de-iconofy the main window again. Thank You, gary