I think it's not part of c++. You can put this querry in win32/MFC forum.