Article View: comp.windows.ms.programmer
Article #881Change the look of a minimized dialog box (how?)
From: Langham
Date: Wed, 12 Dec 1990 07:14
Date: Wed, 12 Dec 1990 07:14
25 lines
1196 bytes
1196 bytes
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) ++
Technical Details
Message-ID:
<langham.660986053@peun19>Path:
arc1-ca.pugleaf.net!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!langhamShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <langham.660986053@peun19> Date: 12 Dec 90 07:14:13 GMT Sender: news@nixpbe.sni.de Lines: 25