Enum Windows & SendMessage API

Conclusion

The EnumWindows API gives you the concept of callback functions and enables you to discover and play with pointers in VB and also teaches you enumeration in windows. SendMessage API is a powerful and conceptual function the use of which sharpens your windows operating system concepts. Further use of these APIs and what else they can do can be discovered by frequently reading the MSDN articles which I think is a must if you want to become a serious windows programmer. My knowledge, which is very little and at the biginning stages so far but whatever it is, comes 90% from MSDN library. I will also advice the programmers who do not know C/C++ to learn it also because almost all the ‘real’ experts of VB have deep knowledge of C++ that’s why I’m learning it too, that will further increase your knowledge and enables you to use VB to its max which is the worlds most widely used windows development language.

Extra Reading (MSDN)

Passing Function Pointers to DLL Procedures and Type Libraries

Anatomy of a Basic Procedure Call (Hardcore Visual Basic)

The SendMessage function (Hardcore Visual Basic)

Windows API (Advance Microsoft Visual Basic)

You might also like...

Comments

About the author

Muhammad Abubakar United States

Nothing to say anything about me yet.

Interested in writing for us? Find out more.

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“To iterate is human, to recurse divine” - L. Peter Deutsch