[comp.windows.ms.programmer] Change the look of a minimized dialog box

langham@nixdorf.de (Langham) (12/12/90)

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)      ++