TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Wim Veldhuis
from: Roger Host
date: 1994-12-09 09:10:00
subject: Bitmapped buttons

Wim Veldhuis wrote a message to Stu Mark

WV> There are a few major improvements in PM over Windows. This is one
WV> of them, you just have to set the style and send the control a
WV> message with the handle of an icon or bitmap. No owner draw needed
WV> anymore.
WV>
WV>

Pardon my ignorance, but could you give a couple more details?  I'd
like to do bitmapped buttons, but I'm (obviously) very new to PM and
could use some help.

I tried setting the BS_BITMAP style on the PUSHBUTTON statement in my
.rc, but when I load the dialog, my program just terminates.  This
I've found is usually a symptom of something wrong with a resource
definition. So, I think I'm on the right track, just at the wrong
station :->

Thanks!

-Roger Host
roger.host{at}gco.com

 þ KWQ/2 1.2g þ If at first you don't succeed, put out another version (KWQ 1.2


--- WM v2.04/92-0551

* Origin: GREATER CHICAGO Online!! (708) 895-4083 (1:115/895)
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: 115/895 109/347 2 7 3615/50 229/2 12/2442 711/409 54/54 711/808 809
@PATH: 711/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™.