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