Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to *easily* get virtual functions

how to *easily* get virtual functions

Scheduled Pinned Locked Moved C#
questioncsharpc++visual-studiotutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rupel
    wrote on last edited by
    #1

    hi, this is more a question on working with vs.net; back in the c++-vs6-days there was an easy way to get a list of all virtual (or base-class) functions and have an overwrite-corpus in your code with one click. i wouldn't know about things like WndProc or IsInputKey if i wouldn't have this forum here. is there any way in vs.net to easily get a list of the available virtual functions and say "i want to overwrite this" with one mouse-click? thx. :wq

    M 1 Reply Last reply
    0
    • R Rupel

      hi, this is more a question on working with vs.net; back in the c++-vs6-days there was an easy way to get a list of all virtual (or base-class) functions and have an overwrite-corpus in your code with one click. i wouldn't know about things like WndProc or IsInputKey if i wouldn't have this forum here. is there any way in vs.net to easily get a list of the available virtual functions and say "i want to overwrite this" with one mouse-click? thx. :wq

      M Offline
      M Offline
      Martin Haesemeyer
      wrote on last edited by
      #2

      Hi! If you higlight a class then there is a button on the properties window that lets you override base class virtual functions with one click! Cheers HTH Martin "Situation normal - all fu***d up" Illuminatus!

      R 1 Reply Last reply
      0
      • M Martin Haesemeyer

        Hi! If you higlight a class then there is a button on the properties window that lets you override base class virtual functions with one click! Cheers HTH Martin "Situation normal - all fu***d up" Illuminatus!

        R Offline
        R Offline
        Rupel
        wrote on last edited by
        #3

        i didn't find that button, but i found something else. if you walk the class-view tree into the base classes, there's an option "add-override" to each virtual methods contextmenu. thx for your help. :) :wq

        M 1 Reply Last reply
        0
        • R Rupel

          i didn't find that button, but i found something else. if you walk the class-view tree into the base classes, there's an option "add-override" to each virtual methods contextmenu. thx for your help. :) :wq

          M Offline
          M Offline
          Martin Haesemeyer
          wrote on last edited by
          #4

          O I didn't know that one! Thanks! But at least with c++ there's a button at the top of the properties window (when displayed while a class is highlited in class view) labelled ovveride (I have the german version of VS .NET) or similiar. It's next to the button where you create message overrides. Cheers Martin "Situation normal - all fu***d up" Illuminatus!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups