Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lParam description of WM_NCACTIVATE message #1829

Open
wants to merge 1 commit into
base: docs
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions desktop-src/winmsg/wm-ncactivate.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ Indicates when a title bar or icon needs to be changed to indicate an active or
*lParam*
</dt> <dd>

When a [visual style](../controls/themes-overview.md) is active for this window, this parameter is not used.
If this parameter is set to -1, [**DefWindowProc**](/windows/desktop/api/winuser/nf-winuser-defwindowproca) does not repaint the nonclient area to reflect the state change.

When a visual style is not active for this window, this parameter is a handle to an optional update region for the nonclient area of the window. If this parameter is set to -1, [**DefWindowProc**](/windows/desktop/api/winuser/nf-winuser-defwindowproca) does not repaint the nonclient area to reflect the state change.
In other case. if *wParam* is **TRUE**, it indicates the **HWND** handle of the previously active window. If *wParam* is **FALSE**, it indicates the **HWND** handle of the window that is going to be activated. This can be **NULL** if the window that was previously active (or is going to be activated) is from other application.

</dd> </dl>

Expand Down