Display image in a button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Using C

I would like to add a image to a button. But this option is being left out on the compact framework. How can I get a image in a button

Bardo
 
H

Yes, you r right that CNF doesnt support button with images. no problem,you can create custome control that looks like a image button. such kind of control already been expained in the quickstart for the CNF. you can get it here

http://samples.gotdotnet.com/quicks...mework/samples/picturebutton/picturebutton.sr

regard
M Aamir Mania

----- Mark Arteaga wrote: ----

OpenNETCF.org SDF has a ButtonEx which supports placing an image. Check out http://www.opennetcf.org/PermaLink.aspx?guid=3a013afd-791e-45ef-802a-4c1dbe1cfef

Mark Arteaga
 
Don't forget if you are going to roll your own control (via overriding the
paint method) to use offscreen bitmaps and to override the onpaintbackground
method to make sure that you don't get any unwanted flickering.

Nick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top