Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!think.com!linus!nixbur!nixpbe!peun19!langham From: langham@nixdorf.de (Langham) Newsgroups: comp.windows.ms.programmer Subject: Change the look of a minimized dialog box (how?) Message-ID: Date: 12 Dec 90 07:14:13 GMT Sender: news@nixpbe.sni.de Lines: 25 Hi ! This could be a question of RTFM - so ...... How can I change the appearance of a minimized modeless dialog-box ? At the moment all I get is a white square with the caption below. I tried something like this: if (IsIconic(hWndDlg)) { hDC = BeginPaint(hWndDlg, &ps); DrawIcon(hDC, ps.rcPaint.left, ps.rcPaint.top, hIcon); EndPaint(hWndDlg, &ps); } This routine is in the WM_PAINT part of the parent window (?????). Thanks for any pointers ! -- ++ Matthew Langham !USA : langham.pad@nixdorf.com ++ ++ --------------- USA : langham.pad@nixdorf.com ++ ++ : SNI AG, Dept. DS FI ASDC, Pontanusstr. 55 ++ ++ --------------- D-4790 Paderborn ((Ger)-5251-14-6345) ++