|
From: Frank Rizzo on 3 Jul 2008 16:03 Hello, i am looking for a button control that can display the image on the left and caption right next to it. I can't use the toolbar control because it makes the size of all the buttons identical, making for weird looking UI. It should be able to look kind of like this: http://sqleffects.com/mystuff/sample.png It would be great if it supported both flat and 3d look. Thanks.
From: Mike Williams on 3 Jul 2008 16:10 "Frank Rizzo" <none(a)none.com> wrote in message news:OJDrOfU3IHA.4988(a)TK2MSFTNGP04.phx.gbl... > Hello, i am looking for a button control that can display > the image on the left and caption right next to it. I can't > use the toolbar control because it makes the size of all > the buttons identical, making for weird looking UI. If you want the best control over the shape and other aspects of your buttons then you would probably be better of creating your own button using a User Control to perform the task. Alternatively, if you just want rectangular buttons, you can use a standard PictureBox which will enable you to draw the "button" Up and Down states in whatever way you wish. Mike
From: "Jialiang Ge [MSFT]" on 4 Jul 2008 00:47 Apart from Mike's suggestions, here is a demo of the implementaion of such kind of buttons: WinForms VB.NET Picture Hover Button http://www.codeproject.com/KB/cpp/PictureHoverButton.aspx Regards, Jialiang Ge (jialge(a)online.microsoft.com, remove 'online.') Microsoft Online Community Support ================================================= Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msdnmg(a)microsoft.com. This posting is provided "AS IS" with no warranties, and confers no rights. =================================================
From: Mike Williams on 4 Jul 2008 02:02 ""Jialiang Ge [MSFT]"" <jialge(a)online.microsoft.com> wrote in message news:PJ9HiEZ3IHA.1624(a)TK2MSFTNGHUB02.phx.gbl... > Apart from Mike's suggestions, here is a demo of the implementaion > of such kind of buttons: > WinForms VB.NET Picture Hover Button > http://www.codeproject.com/KB/cpp/PictureHoverButton.aspx That's not Visual Basic! It's the imposter! Mike
From: senn on 4 Jul 2008 06:32 "Frank Rizzo" <none(a)none.com> skrev i en meddelelse news:OJDrOfU3IHA.4988(a)TK2MSFTNGP04.phx.gbl... > Hello, i am looking for a button control that can display the image on the > left and caption right next to it. I can't use the toolbar control > because > it makes the size of all the buttons identical, making for weird looking > UI. > > It should be able to look kind of like this: > http://sqleffects.com/mystuff/sample.png It would be great if it > supported > both flat and 3d look. > > Thanks. > > One other method to consider. Make a bitmap in paint that includes the text. It's not the best way to go, as altering screen and text settings arises problems. If you have a bitmap of the right size, put it into Paint and write the text to the right of it. Then draw a retangle around it and fill it with the colour if not white. Then draw a rubber band around it, and save it to a file with the Copy To under the Edit menu. The up-sizing in paint is not saved. This is only effective in paint and should be done for ease of setting the rubber band in place. The Button style must be set to graphic. /senn
|
Next
|
Last
Pages: 1 2 Prev: compile an without installing hardware drivers. Next: OffTopic: Bezier |