CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2009
    Posts
    3

    Unhappy How to set an event handler for a lower class radiobutton ?

    I create a user control group sub-class. There are two radiobuttons. I need to create event handlers for them.I create event handlers in the sub class and let the event handler to change a constant in the subclass. I will use a function to check the sub class constant in the upper class. Note I have commented out two lines (they are the event handler creation) because they are wrong because they create errors please help.

    I uploaded the sub-class code. PLease help
    Attached Files

  2. #2
    GCDEF is offline Elite Member Power Poster GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+) GCDEF has a reputation beyond repute (3000+)
    Join Date
    Nov 2003
    Posts
    11,562

    Re: How to set an event handler for a lower class radiobutton ?

    You need to mosey on down to one of the .Net forums. The managed C++ folks should be able to help you out.

  3. #3
    Join Date
    Jun 2010
    Location
    Germany
    Posts
    2,448

    Re: How to set an event handler for a lower class radiobutton ?

    Without actually having looked at your code (admittedly), I trust GCDEF's judgement that you posted this in the wrong section. So here's something to read until this thread gets moved to the right forum section by some moderator or you start your own new one over there. Your post sounds like that may give you some inspiration.
    I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.

    This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

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



HTML5 Development Center

Click Here to Expand Forum to Full Width