hexeditor
hexeditor

Reputation: 174

Prevent window from being clicked in while another window is open

On Windows, when a window opens on top of another window, the parent window will not be clickable, and will make a "ding" sound and its titlebar will flash. It will do this until the other window is closed. How do I recreate this in Win32?

Upvotes: 0

Views: 313

Answers (1)

Jherico
Jherico

Reputation: 29240

The words you are looking for are modal and modeless.

Modal dialogs won't let the user interact with the parent window until they've been dismissed.

This document covers the Win32 API for creating modal dialogs.

Upvotes: 5

Related Questions