曾经见别人用VS2005绘制BUTTON,真绚。
请教如何绘制?绘制的选项在哪里?

解决方案 »

  1.   

    用CButtonST试试
    http://www.softechsoftware.it/cbuttonst.html
      

  2.   

    绘制:拉一个矩形,可更改边框的地样式,如棱角是圆的等,可调节颜色,如逐渐由X色变深
    感谢2楼介绍的软件,但我想是VS里自带的。
      

  3.   

    1.如果是vs自带的,就不用你去"绘制"
    2.如果不是vs自带的,2楼的方法可行.当然,你可以自己派生类,去"绘制"
      

  4.   

    MSDN 里查到了How to: Create a Custom Image Button ControlTo create a button with an image, you must create a custom control that derives from the Windows Forms Control class. To create a button with an image1.Create a class that derives from the System.Windows.Forms..::.Control class.2.Define properties in the class for button images that show a pressed and not pressed state.3.Use the Invalidate method to cause the form to repaint when the button is clicked.4.Override the OnPaint method to draw the custom control with the appropriate images. ...http://msdn2.microsoft.com/en-us/library/ms172532.aspx唉!可是完全不明白,不知道怎么弄
    求教阿
      

  5.   

    楼主视各位兄弟的回复于无物.其实都说的很清楚了.
    你可以按照2楼的网址去下载一下CButtonST的代码,看别人是如何绘制的.