mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 09:24:11 +00:00
Add notify events when a window is created. If'
svn path=/trunk/; revision=32983
This commit is contained in:
parent
d60b24ff30
commit
1258d8f778
|
@ -2049,7 +2049,6 @@ AllocErr:
|
||||||
DPRINT("IntCreateWindowEx(): about to send CREATE message.\n");
|
DPRINT("IntCreateWindowEx(): about to send CREATE message.\n");
|
||||||
Result = co_IntSendMessage(Window->hSelf, WM_CREATE, 0, (LPARAM) &Cs);
|
Result = co_IntSendMessage(Window->hSelf, WM_CREATE, 0, (LPARAM) &Cs);
|
||||||
|
|
||||||
|
|
||||||
if (Result == (LRESULT)-1)
|
if (Result == (LRESULT)-1)
|
||||||
{
|
{
|
||||||
/* FIXME: Cleanup. */
|
/* FIXME: Cleanup. */
|
||||||
|
@ -2057,7 +2056,16 @@ AllocErr:
|
||||||
IntUnlinkWindow(Window);
|
IntUnlinkWindow(Window);
|
||||||
RETURN((HWND)0);
|
RETURN((HWND)0);
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
|
Result = co_EVENT_CallEvents(EVENT_OBJECT_CREATE, Window->hSelf, OBJID_WINDOW, 0);
|
||||||
|
|
||||||
|
if (Result == (LRESULT)-1)
|
||||||
|
{
|
||||||
|
/* FIXME: Cleanup. */
|
||||||
|
DPRINT1("IntCreateWindowEx(): event CREATE hook failed. No cleanup performed!\n");
|
||||||
|
RETURN((HWND)0);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
/* Send move and size messages. */
|
/* Send move and size messages. */
|
||||||
if (!(Window->Flags & WINDOWOBJECT_NEED_SIZE))
|
if (!(Window->Flags & WINDOWOBJECT_NEED_SIZE))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue