Skip to content

Commit 2050be5

Browse files
committed
Add style change windows messages
1 parent 1ce9a3b commit 2050be5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/WinUIEx/Messaging/WindowsMessages.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,18 @@ internal enum WindowsMessages : uint
122122
/// <seealso href="https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-gettextlength">Microsoft Docs</seealso>
123123
WM_GETTEXTLENGTH = 0x000e,
124124

125+
/// <summary>
126+
/// Sent to a window when the SetWindowLong function is about to change one or more of the window's styles.
127+
/// </summary>
128+
/// <seealso cref="https://learn.microsoft.com/en-us/windows/win32/winmsg/wm-stylechanging"/>
129+
WM_STYLECHANGING = 0x007C,
130+
131+
/// <summary>
132+
/// Sent to a window after the SetWindowLong function has changed one or more of the window's styles.
133+
/// </summary>
134+
/// <seealso cref="https://learn.microsoft.com/en-us/windows/win32/winmsg/wm-stylechanged"/>
135+
WM_STYLECHANGED = 0x007D,
136+
125137
/// <summary>
126138
/// Sent to a window when its nonclient area needs to be changed to indicate an active or inactive state.
127139
/// </summary>

0 commit comments

Comments
 (0)