Article View: comp.windows.ms
Article #13880Re: drawing inside dialog box
From: kipnis kipnis
Date: Thu, 21 Dec 1989 05:04
Date: Thu, 21 Dec 1989 05:04
22 lines
996 bytes
996 bytes
From: kipnis@janus.Berkeley.EDU (Gary Kipnis)
Subj: drawing inside dialog boxes
Orga: University of California, Berkeley
Hi, is it possible to draw inside a dialog box, i.e. I want to draw a
blue rectangle inside a dialog box and change its color according to
dialog commands, but for some reason every time I try to draw it I
get nothing, here is what I do:
case WM_INITDIALOG:
hDC = GetDC(hDlg);
.
.
Rectangle(hDC, x1, y1, x2, y2);
Thank you,
gary
---
* Via MaSNet/HST96/HST144/V32 - UN PC Windowing Systems
* Via Usenet Newsgroup comp.windows.ms
Technical Details
Message-ID:
<89122504121422@masnet.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!kipnis@janus.berkeley.eduShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!kipnis@janus.berkeley.edu From: kipnis@janus.berkeley.edu@canremote.uucp (kipnis@janus.Berkeley.EDU) Newsgroups: comp.windows.ms Subject: Re: drawing inside dialog box Message-ID: <89122504121422@masnet.uucp> Date: 21 Dec 89 05:04:00 GMT Organization: Canada Remote Systems Limited, Mississauga, ON, Canada Lines: 22