Results 1 to 3 of 3

Thread: Graphical Button [2005 express]

  1. #1

    Thread Starter
    Fanatic Member Nove's Avatar
    Join Date
    Jul 2004
    Posts
    736

    Graphical Button [2005 express]

    What's the best way to make a graphical button? Right now I've got an imagelist assigned to the button with appropriate code to change the image on events like mousedown, but when the mouse is held down over the button, a slight border appears around the button. Anyway to make this go away, or is there a better method altogether? Thanks.
    Last edited by Nove; Apr 5th, 2006 at 07:23 AM. Reason: version

  2. #2

    Thread Starter
    Fanatic Member Nove's Avatar
    Join Date
    Jul 2004
    Posts
    736

    Re: Graphical Button [2005 express]

    Nevermind on the border thing, but this is the easiest way to do it, right?
    Last edited by Nove; Apr 5th, 2006 at 03:23 PM.

  3. #3
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840

    Re: Graphical Button [2005 express]

    You could handle the paint event of the button and do all the drawing yourself.
    Then you could draw any image you'd like, and only draw a focus rectangle or border when needed/wanted.
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width