| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: BITMAPPED BUTTONS |
-=> Quoting Darryl Pierce to All <=- DP> I have another questions, this one about bitmapped buttons. There's DP> nothing in the reference manuals about setting the bitmap image for a DP> bitmap button (BCOS2 1.5). [snip] DP> Any suggestions would be appreciated... DP> -Darryl [Team OS/2] I'm interested in this info too, since I couldn't find it in my Watcom on-line references either. What I ended up doing though, is create my own button class. I based it on some example code in "OS/2 Presentation Manager Programming," and it has the added advantage of accepting right mouse button clicks as well (an extension I added to the sample code). Posting the code would eat up too much room, and it isn't changed enough from the book's code for me to not worry about copyrights. I'd be happy to answer any questions though if you decide to try this approach. I can even post the button drawing code if you like (since I wrote that part). Michael Duffy Team Newbie ... Taglines: Bumber stickers for the Information Superhighway --- GEcho 1.10+* Origin: Knight Mare 405 672 5644 (1:147/3006) SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413 SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1 @PATH: 147/3006 1032 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.