size, and reset the button's font to the larger Get the font size in Points, add one to the Virtual void OnMouseHover( System::EventArgs^ e ) override Public ref class FunButton: public Button Add a button of type FunButton to the form. forming the same file, after the form class in the same file. To use this example create a new form and paste this class Add a button of type FunButton to the form. To run the example, paste the following code in a new form and paste this class, forming the same file, after the form. The following code example demonstrates how to override the Control.OnMouseHover method in a derived class and using the Hand property. The Cursor that represents the hand cursor. Static property System::Windows::Forms::Cursor ^ Hand static member Hand : Public Shared ReadOnly Property Hand As Cursor Property Value Cursor Gets the hand cursor, typically used when hovering over a Web link.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |