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. WPF
  4. WndProc equivalent in WPF?

WndProc equivalent in WPF?

Scheduled Pinned Locked Moved WPF
csharpwpfwinformsquestion
4 Posts 3 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
    pbalaga
    wrote on last edited by
    #1

    Is there a single method in WPF that can handle all types of input at once, like WndProc in Windows Forms? Or do I have to capture and forward each event separately?

    L T 2 Replies Last reply
    0
    • P pbalaga

      Is there a single method in WPF that can handle all types of input at once, like WndProc in Windows Forms? Or do I have to capture and forward each event separately?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Hmm... I never knew there was such a thing for WinForms. Good Question.

      1 Reply Last reply
      0
      • P pbalaga

        Is there a single method in WPF that can handle all types of input at once, like WndProc in Windows Forms? Or do I have to capture and forward each event separately?

        T Offline
        T Offline
        teejayem
        wrote on last edited by
        #3

        Badda Bam![^]

        Don't be overcome by evil, but overcome evil with good

        P 1 Reply Last reply
        0
        • T teejayem

          Badda Bam![^]

          Don't be overcome by evil, but overcome evil with good

          P Offline
          P Offline
          pbalaga
          wrote on last edited by
          #4

          Thanks for your reply. Of course, it should do the job. Anyway, it seems to be a pretty strange work-around. You're provided with dozens of overridable methods for handling input, but you have to use native hooks...

          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