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. c# error: ...does not implement interface member...

c# error: ...does not implement interface member...

Scheduled Pinned Locked Moved C#
csharpcomdata-structuresjsonhelp
7 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.
  • _ Offline
    _ Offline
    _Q12_
    wrote on last edited by
    #1

    WindowsMediaPlayer fullscreen does Not detect keydown's ! From all I could find, the solution is to use win32 API. Great... c# - Axwindows media player dectect keydown in full screen mode - Stack Overflow[^] I find this interesting link but when I try to add ",IMessageFilter" : public partial class Form16 : Form,IMessageFilter i get this error: "...does not implement interface member..." Now what? How to proceed? Thank you.

    B M 2 Replies Last reply
    0
    • _ _Q12_

      WindowsMediaPlayer fullscreen does Not detect keydown's ! From all I could find, the solution is to use win32 API. Great... c# - Axwindows media player dectect keydown in full screen mode - Stack Overflow[^] I find this interesting link but when I try to add ",IMessageFilter" : public partial class Form16 : Form,IMessageFilter i get this error: "...does not implement interface member..." Now what? How to proceed? Thank you.

      B Offline
      B Offline
      BillWoodruff
      wrote on last edited by
      #2

      You need to implement

      public bool PreFilterMessage(ref Message m)
      {
      // handle the messages of interest
      }

      The link you cite should help you understand the messages you need to handle; also, see: [^]. You're getting down in the plumbing with this: it's liable to be tricky; a given COM component may, or may not, behave like others.

      «Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot

      _ 1 Reply Last reply
      0
      • B BillWoodruff

        You need to implement

        public bool PreFilterMessage(ref Message m)
        {
        // handle the messages of interest
        }

        The link you cite should help you understand the messages you need to handle; also, see: [^]. You're getting down in the plumbing with this: it's liable to be tricky; a given COM component may, or may not, behave like others.

        «Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot

        _ Offline
        _ Offline
        _Q12_
        wrote on last edited by
        #3

        thank you mister BillWoodruff and HNY2019. I run over that link you give me too. But now that you specifically mention it, i tried that code and i dont get the error anymore. Thank you very much. Now it works! You are so right calling it the plumbing zone. I like it but i have absolutly no clue what it's potential may be and i am unsure if i should pursue it. I mean, i understand its windows operation, it's the core of everything run on windows. It's forms and their controls. But other than this? Can you summarize it for me please? What can be done? what is used for (the most)? I'm refering to win32 COM plumbing thing. I did watched on youtube an entire series of tutorials about this specific subject, and i get a general idea a bit better than before. But i have an idea, i am not good at anything related to this. Can you inspire me? (or not + arguments)

        B 1 Reply Last reply
        0
        • _ _Q12_

          thank you mister BillWoodruff and HNY2019. I run over that link you give me too. But now that you specifically mention it, i tried that code and i dont get the error anymore. Thank you very much. Now it works! You are so right calling it the plumbing zone. I like it but i have absolutly no clue what it's potential may be and i am unsure if i should pursue it. I mean, i understand its windows operation, it's the core of everything run on windows. It's forms and their controls. But other than this? Can you summarize it for me please? What can be done? what is used for (the most)? I'm refering to win32 COM plumbing thing. I did watched on youtube an entire series of tutorials about this specific subject, and i get a general idea a bit better than before. But i have an idea, i am not good at anything related to this. Can you inspire me? (or not + arguments)

          B Offline
          B Offline
          BillWoodruff
          wrote on last edited by
          #4

          I'm glad you got some benefit from my response :)

          _Q12_ wrote:

          Can you summarize it for me please? What can be done? what is used for (the most)? I'm refering to win32 COM plumbing thing

          All I can say is that the underlying COM stuff we're still using (often, like the built-in WinForms Controls, wrapped in a shiny .NET API, with a GUI stuck on it) involves a lot internal, highly complex, architecture, and heavy use of the lowest level Win OS facilities. Check out the history of COM: Component Object Model - Wikipedia[^]. Whether you should "go deep" into the plumbing ? To really respond to that, I'd need to know a lot more about you, and your goals. I would recommend you try to achieve fluency in a high-level language, like C#; learn fundamentals you'd need to know in any programming language, and develop practical programming skills; learn concepts of algorithms, design patterns, interfaces, and OOP; study a philosophy of program design and object/inheritance like SOLID: [^]. And, certainly, get competent with JavaScript, HTML, and web-related tools. best wishes, Bill

          «Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot

          _ 1 Reply Last reply
          0
          • B BillWoodruff

            I'm glad you got some benefit from my response :)

            _Q12_ wrote:

            Can you summarize it for me please? What can be done? what is used for (the most)? I'm refering to win32 COM plumbing thing

            All I can say is that the underlying COM stuff we're still using (often, like the built-in WinForms Controls, wrapped in a shiny .NET API, with a GUI stuck on it) involves a lot internal, highly complex, architecture, and heavy use of the lowest level Win OS facilities. Check out the history of COM: Component Object Model - Wikipedia[^]. Whether you should "go deep" into the plumbing ? To really respond to that, I'd need to know a lot more about you, and your goals. I would recommend you try to achieve fluency in a high-level language, like C#; learn fundamentals you'd need to know in any programming language, and develop practical programming skills; learn concepts of algorithms, design patterns, interfaces, and OOP; study a philosophy of program design and object/inheritance like SOLID: [^]. And, certainly, get competent with JavaScript, HTML, and web-related tools. best wishes, Bill

            «Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot

            _ Offline
            _ Offline
            _Q12_
            wrote on last edited by
            #5

            Very competent answer! :thumbsup: hmmm, but in the same time i dont like your answer. Because i want to know what are the possibilities using it. What is used for most of the time? Is it even used anymore? I suppose, all the great softwares, like Visual studio's, 3dsmax, etc they all have at some point some naked plumbing win32 stuff in them that is not possible to make in any other high level languages. I am guessing here, big time. I am asking about all of these. I am not at all pertinent, im just a rookie (with high hopes in a greater, shinier future). What is your goal? Why did you learn it in the first place? (i dont know if you know it, but if you do...) You can be as philosophical as you please (i am). Or direct as you can. (i do also)

            B 1 Reply Last reply
            0
            • _ _Q12_

              Very competent answer! :thumbsup: hmmm, but in the same time i dont like your answer. Because i want to know what are the possibilities using it. What is used for most of the time? Is it even used anymore? I suppose, all the great softwares, like Visual studio's, 3dsmax, etc they all have at some point some naked plumbing win32 stuff in them that is not possible to make in any other high level languages. I am guessing here, big time. I am asking about all of these. I am not at all pertinent, im just a rookie (with high hopes in a greater, shinier future). What is your goal? Why did you learn it in the first place? (i dont know if you know it, but if you do...) You can be as philosophical as you please (i am). Or direct as you can. (i do also)

              B Offline
              B Offline
              BillWoodruff
              wrote on last edited by
              #6

              Do you want to learn dinosaur dentistry and be unemployable until Jurassic Park is a reality, or, do you want to be a general practitioner ? Do you want to build your own car from parts, or fix one that is drive-able now ? Anything's possible :)

              «Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot

              1 Reply Last reply
              0
              • _ _Q12_

                WindowsMediaPlayer fullscreen does Not detect keydown's ! From all I could find, the solution is to use win32 API. Great... c# - Axwindows media player dectect keydown in full screen mode - Stack Overflow[^] I find this interesting link but when I try to add ",IMessageFilter" : public partial class Form16 : Form,IMessageFilter i get this error: "...does not implement interface member..." Now what? How to proceed? Thank you.

                M Offline
                M Offline
                mtoha
                wrote on last edited by
                #7

                Hello, If You use Visual Studio, when You extends from Interface, You can use Quick Action to implement the interface function. Click the bulb icon (Ctrl+.), and choose Implement Interface.. [^] [^] Interface need to declare interface function(s) at the child, and the parent does not declare yet the body of interface function.

                Regards Toha

                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