Search code examples
c++user-interfacewinapiwindow

How to create a hidden window in C++


How to create a hidden window ?

The purpose of this window is to receive some messages.


Solution

  • When you create the window, omit the WS_VISIBLE flag and don't call ShowWindow.