home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!sybus.sybus.com!myrddin!tct!jeff
- From: jeff@tct.com (Jeff Witzer)
- Subject: Dynamic Drawing to Button Faces
- Message-ID: <2B31FA06.954E@tct.com>
- Date: Fri, 18 Dec 1992 16:19:17 GMT
- Organization: TC Telemanagement, Clearwater, FL
- Lines: 17
-
- [Sorry if this is a repost, I think the first attempt failed...]
-
- Here's one I haven't seen on the net, yet:
-
- I would like to be able to draw a pie chart and/or a bar chart (user picks
- which one to do so I have to know both)...on the face of a button. I'm
- using Borland style buttons, BC 3.0, and Win 3.1. I've been using the
- BBS_SETBITS message to change button appearance on the fly (for the three
- button states: norm, push, focus) with 3 item bitmap arrays, but have only
- done this with static bitmaps drawn in Resource Workshop. How can I use
- drawing commands from within the code to create these bitmaps (or just
- display straight on the button face) so that I can still have all 3 states?
-
- thanks,
-
- jeff@tct.com
-
-