1. Buttons w/images

Is there anyway to put an image on a button instead of
text with David Cuny's WIN32LIB?  I have tried two
ways, and both have failed.

**ALL THE IMAGES REFFERED TO ARE BITMAPS DECLARED WITH
create(Bitmap,other params).**

1) Declare the window, declare the button to the
window, then declare the image to the button.

2) Declare the window, declare a group, declare the
button to the group, then declare the image to the
group.

Both of these showed the image on the button at first,
but after down-clicking the button, from then on only
a blank button is shown--no text or image.

Please help if you can and thanks,
Mike Hurley

===
EMail (Yahoo): mikehurley2 at yahoo.com
EMail (AOL): mhssoft at aol.com

Web: www.geocities.com/SiliconValley/Circuit/6268/

Quote from Jeff Foxworthy: "If your dad walks you to school everyday because
you're in the same grade, you might be a redneck."
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

new topic     » topic index » view message » categorize

2. Re: Buttons w/images

Mike
 What your looking for is a bitmap button. There are C++ classes for
 these in VC++ but I don't think there is any of these types of buttons
 in the the common controls for WIN95. Maybe I am wrong but I don't
 think that you could do that in Euphoria. I think you have to have use
 VB or VC++ or Borland to do that.
Bernie

new topic     » goto parent     » topic index » view message » categorize

3. Re: Buttons w/images

PS
 You could add features like that with a custom DLL.
Bernie

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu