mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[WIN32K/NTUSER]
* Fix gcc compilation. svn path=/branches/shell-experiments/; revision=63307
This commit is contained in:
parent
c0a40fbfe8
commit
389001ca69
3 changed files with 10 additions and 10 deletions
|
@ -240,9 +240,9 @@ co_IntSendActivateMessages(PWND WindowPrev, PWND Window, BOOL MouseActivate, BOO
|
|||
(LPARAM)(WindowPrev ? UserHMGetHandle(WindowPrev) : 0));
|
||||
|
||||
if (Window->spwndParent == UserGetDesktopWindow() &&
|
||||
Window->spwndOwner == NULL &&
|
||||
!(Window->ExStyle & WS_EX_TOOLWINDOW) ||
|
||||
(Window->ExStyle & WS_EX_APPWINDOW))
|
||||
((Window->spwndOwner == NULL &&
|
||||
!(Window->ExStyle & WS_EX_TOOLWINDOW)) ||
|
||||
(Window->ExStyle & WS_EX_APPWINDOW)))
|
||||
{
|
||||
// FIXME lParam; The value is TRUE if the window is in full-screen mode, or FALSE otherwise.
|
||||
co_IntShellHookNotify(HSHELL_WINDOWACTIVATED, (WPARAM) UserHMGetHandle(Window), FALSE);
|
||||
|
|
|
@ -2428,10 +2428,10 @@ co_UserCreateWindowEx(CREATESTRUCTW* Cs,
|
|||
IntSendParentNotify(Window, WM_CREATE);
|
||||
|
||||
/* Notify the shell that a new window was created */
|
||||
if ((!hWndParent) && (!hWndOwner) &&
|
||||
Window->spwndOwner == NULL &&
|
||||
!(Window->ExStyle & WS_EX_TOOLWINDOW) ||
|
||||
(Window->ExStyle & WS_EX_APPWINDOW))
|
||||
if (Window->spwndParent == UserGetDesktopWindow() &&
|
||||
((Window->spwndOwner == NULL &&
|
||||
!(Window->ExStyle & WS_EX_TOOLWINDOW)) ||
|
||||
(Window->ExStyle & WS_EX_APPWINDOW)))
|
||||
{
|
||||
co_IntShellHookNotify(HSHELL_WINDOWCREATED, (WPARAM)hWnd, 0);
|
||||
}
|
||||
|
|
|
@ -1882,9 +1882,9 @@ co_WinPosSetWindowPos(
|
|||
else if (WinPos.flags & SWP_SHOWWINDOW)
|
||||
{
|
||||
if (Window->spwndParent == UserGetDesktopWindow() &&
|
||||
Window->spwndOwner == NULL &&
|
||||
!(Window->ExStyle & WS_EX_TOOLWINDOW) ||
|
||||
(Window->ExStyle & WS_EX_APPWINDOW))
|
||||
((Window->spwndOwner == NULL &&
|
||||
!(Window->ExStyle & WS_EX_TOOLWINDOW)) ||
|
||||
(Window->ExStyle & WS_EX_APPWINDOW)))
|
||||
co_IntShellHookNotify(HSHELL_WINDOWCREATED, (WPARAM)Window->head.h, 0);
|
||||
|
||||
Window->style |= WS_VISIBLE; //IntSetStyle( Window, WS_VISIBLE, 0 );
|
||||
|
|
Loading…
Reference in a new issue