home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!newsflash.concordia.ca!mizar.cc.umanitoba.ca!umwaletz
- From: umwaletz@ccu.umanitoba.ca (James L. Waletzky)
- Subject: Forced Update (WM_PAINT) of Window
- Message-ID: <C0Fx4F.6Cs@ccu.umanitoba.ca>
- Sender: news@ccu.umanitoba.ca
- Nntp-Posting-Host: vader.cc.umanitoba.ca
- Organization: University of Manitoba, Winnipeg, Canada
- Date: Wed, 6 Jan 1993 16:14:36 GMT
- Lines: 16
-
- I'm using Borland C++ 3.1 to create my app and here's the problem:
-
- I have this main window which contains about 20 children, with each
- child being a box containing a particular color. Up pops a dialog
- asking the user to respond to some questions and once this dialog
- disappears, I would like to update all of the children with their
- new colors (ie. force a WM_PAINT message).
-
- I thought all I had to do was Invalidate the parent window and call
- UpdateWindow, but this doesn't seem to work. I then tried Invalidating
- all of the children and calling UpdateWindow, but this didn't work
- either. Any ideas?
-
- James.
- umwaletz@ccu.umanitoba.ca
-
-