Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ucbvax!agate!shelby!morrow.stanford.edu!news From: BR.JWF@forsythe.stanford.edu (Jay Field) Newsgroups: comp.os.os2.programmer Subject: Minimize a dialog box, get an icon? Message-ID: <1990Oct30.223224.27196@morrow.stanford.edu> Date: 30 Oct 90 22:32:24 GMT Sender: news@morrow.stanford.edu (UNIX News Service) Organization: Data Center, Stanford University, California, USA Lines: 24 Does anyone know how to associate an icon with a dialog box? The dialog box was created with the DLGBOX editor and I included a MINIMIZE button. I have tried all combinations of FS_ICON and FCF_ICON and POINTER statements, but I still can't get the icon associated with the minimized dialog box. Any ideas would be greatly appreciated. I am running IBM 1.2 EE on a PS/2, using MS C 6.0 and the MS toolkit. (I am able to associate an icon with the Frame Window created with WinCreateStdWindow. After that is created, a dialog box appears in response to a pull-down menu choice. When that dialog box is minimized, the name from the dialog box title and some 'garbage' appear at the bottom of the client window created with WinCreateStdWindow. What I want is to get my icon for the dialog box to appear instead of the garbage (default icon?) that appears now.) Many thanks in advance, Jay Field Research Libraries Group (415) 691-2215