Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!mit-eddie!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!icdoc!sot-ecs!gjh87 From: gjh87@ecs.soton.ac.uk Newsgroups: comp.windows.ms Subject: Private Window class for a dialog box Message-ID: <548.9008211504@hilliard.ecs.soton.ac.uk> Date: 21 Aug 90 15:04:19 GMT Sender: gjh87@ecs.soton.ac.uk Lines: 19 This is a plea for help!! I am trying to subclass a modeless dialog box with a private window class in the aim of giving an icon when minimising the dialog box. Everything compiles, and the Window function for the dialog box is called with a WM_NCCREATE message but crashes with an Unrecoverable Application Error when executing the DefDlgProc function. Does anyone have any suggestions as I am fresh out of ideas. I have checked the obvious possibilities - the Dialog function is exported - the dialog template has the correct CLASS line - hInst and hWnd parameters to CreateDialog are initialised If noone has any guesses as to the problem, is there another way in which I can give the dialog box an icon ? Thanks in advance, Gary Hill, gjh87@uk.ac.soton.ecs