I have a TimerProc that calls a MessageBox. I want MessageBox to stay on top of other windows. So, for example, the parent window sets a timer, then I move to another window on top of this. When the timer fires, I want the MessageBox to appear on top of the window that closes the application. Is this possible, and how should I do it?
I think you want to make it System Modal as MB_SYSTEMMODAL, as described here .
And / or make the top window of the owner of the MessageBox.
, ? , ?
, MessageBox, , :
, MessageBox, EnumThreadWindows, . , , BringWindowToTop.
MessageBox
EnumThreadWindows
BringWindowToTop
MessageBox , , , BringWindowToTop.
MessageBox :
MessageBox , MB_SYSTEMMODAL, MessageBox. MB_TOPMOST, , Vista .
MB_SYSTEMMODAL
MB_TOPMOST
Source: https://habr.com/ru/post/1750841/More articles:XML Не удается получить значение дочернего node: С# - c#Capturing a click anywhere inside gtk.Window - pythonWhat is the difference between getiterator () and iter () relative to lxml - pythonHow to get QueryString from href? - securityType Requirements for std :: list - c ++Java Indentation - emacsHow to resize an image from Uri? - androidCall a Django renderer in memory without any files from strings? - pythonrails check nested attributes - validationFailed to create File object for file in Jar - javaAll Articles