[RESOLVED] Make a class inherit from my class + "Button" class. Is there a button interface?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: [RESOLVED] Make a class inherit from my class + "Button" class. Is there a button interface?

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Posts
    2

    [RESOLVED] Make a class inherit from my class + "Button" class. Is there a button interface?

    So I need a button that can call a (non-static) function outside of it, but it also needs to be able to override the "OnClick" method of System::Windows::Forms::Button... ideas?

    In JAVA I know I'd use either an "interface" or a class within a fake class hack workaround.

    Thank you guys in advance so very much.

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Make a class inherit from my class + "Button" class. Is there a button interface?

    Hm, are are you actually trying to accomplish here?
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

Tags for this Thread

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center