MFC is Microsoft Foundation Classes. Its a Wrapper for the Windows API to make it easier to use. Or you could use managed C++ since your already used to .NET In that case just look it up on MSDN, there should be explanation of the same function as in VB in C++.