svn path=/trunk/; revision=62405
-HWND FASTCALL
-IntFindChildWindowToOwner(PWND Root, PWND Owner)
-{
- HWND Ret;
- PWND Child, OwnerWnd;
-
- for(Child = Root->spwndChild; Child; Child = Child->spwndNext)
- {
- OwnerWnd = Child->spwndOwner;
- if(!OwnerWnd)
- continue;
-
- if(OwnerWnd == Owner)
- {
- Ret = Child->head.h;
- return Ret;
- }
- }
-
- return NULL;
-}
-
VOID FASTCALL
FindRemoveAsyncMsg(PWND Wnd, WPARAM wParam)
{
VOID FASTCALL
FindRemoveAsyncMsg(PWND Wnd, WPARAM wParam)
{
+/*
+ Revision 7888, activate modal dialog when clicking on a disabled window.
+*/
+HWND FASTCALL
+IntFindChildWindowToOwner(PWND Root, PWND Owner)
+{
+ HWND Ret;
+ PWND Child, OwnerWnd;
+
+ for(Child = Root->spwndChild; Child; Child = Child->spwndNext)
+ {
+ OwnerWnd = Child->spwndOwner;
+ if(!OwnerWnd)
+ continue;
+
+ if(OwnerWnd == Owner)
+ {
+ Ret = Child->head.h;
+ return Ret;
+ }
+ }
+ return NULL;
+}
+
BOOL FASTCALL
co_IntMouseActivateWindow(PWND Wnd)
{
BOOL FASTCALL
co_IntMouseActivateWindow(PWND Wnd)
{