MB_TASKMODAL top-level constant

int const MB_TASKMODAL

Same as MB_APPLMODAL except that all the top-level windows belonging to the current thread are disabled if the hWnd parameter is NULL.

Use this flag when the calling application or library does not have a window handle available but still needs to prevent input to other windows in the calling thread without suspending other threads.

Implementation

const MB_TASKMODAL = 0x00002000;