user963241
user963241

Reputation: 7048

Check if window is losing focus

Which notification message do you receive if any window is losing focus?

Upvotes: 7

Views: 6336

Answers (2)

tiftik
tiftik

Reputation: 988

WM_ACTIVATE

Upvotes: 4

Jerry Coffin
Jerry Coffin

Reputation: 490713

WM_KILLFOCUS. In case you care, wParam will be the handle of the window that's receiving the focus.

Upvotes: 6

Related Questions