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. Visual Studio
  4. VS2003 version of Add Windows Message Handler?

VS2003 version of Add Windows Message Handler?

Scheduled Pinned Locked Moved Visual Studio
questionannouncementlearning
1 Posts 1 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.
  • P Offline
    P Offline
    Phil C
    wrote on last edited by
    #1

    As I continue my struggle to move from VC6 to VCsharp2003 I'm often left with all kinds of longing for the old days. One of which is the VC6 Class Wizard and it's ability to just right click on my class and select "Add Windows Message Handler" For instance, I have a RichTextBox control on my form and I need to add a OnGetFocus() handler to it in an attempt to make it automatically select the entire content of Text (you know, the way most forms work by default so when you tab from one field to the next you can overwrite old values by typing instead of having to delete them one letter at a time first). Anyway, I still haven't found the equivalent (if there is one) method in VS2003 to get a complete list of all the possible EventHandlers for a given control (like OnMouseDown, OnMouseUp, OnSelect...etc. etc.) and pick one from the list. All I've been able to come up with is to manually create the handler function by hand, then add the handler to the control by hand. Did this simple One Click functionality never make it from VC6 into VC2003 or did I miss some chapter in a book somewhere?

    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