Make win32 console application display window

I am developing a win32 console application, and now I would like it to display an optional status / notification window. Is there a way to do this from a console application, or will I need to rewrite it as a Windows application?

This is for a kiosk system, so I will need to call SetWindowPos () with the topmost flag in the window handle.

+3
source share
2 answers

As far as I remember, the main difference is that you will need a message pump. This question describes the basic message pump: Why are "TranslateMessage" and "DispatchMessage" separate calls?

:

+2

. CreateWindow/CreateWindowEx

0

Source: https://habr.com/ru/post/1753491/


All Articles