[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-patches
Subject: Add dialog class name to the list of classes handled by hook
From: Dmitry Timoshkov <dmitry () baikal ! ru>
Date: 2004-05-30 3:52:55
Message-ID: 200405300351.i4U3pkFg051577 () mailserv ! isu ! ru
[Download RAW message or body]
Hello,
Changelog:
Dmitry Timoshkov <dmitry@codeweavers.com>
Add dialog class name to the list of classes handled by hook,
add hook messages to the modal dialog message test.
--- cvs/hq/wine/dlls/user/tests/msg.c Tue May 25 01:46:30 2004
+++ wine/dlls/user/tests/msg.c Sun May 30 03:47:14 2004
@@ -437,10 +437,12 @@ static const struct message WmModalDialo
{ WM_KILLFOCUS, sent|parent },
{ WM_IME_SETCONTEXT, sent|parent|wparam|optional, 0 },
{ WM_ENABLE, sent|parent|wparam, 0 },
+ { HCBT_CREATEWND, hook },
{ WM_SETFONT, sent },
{ WM_INITDIALOG, sent },
{ WM_CHANGEUISTATE, sent|optional },
{ WM_SHOWWINDOW, sent },
+ { HCBT_ACTIVATE, hook },
{ WM_WINDOWPOSCHANGING, sent },
{ WM_NCACTIVATE, sent|wparam, 1 },
{ WM_GETICON, sent|optional },
@@ -491,6 +493,7 @@ static const struct message WmModalDialo
{ HCBT_SETFOCUS, hook },
{ WM_IME_SETCONTEXT, sent|parent|wparam|defwinproc|optional, 1 },
{ WM_SETFOCUS, sent|parent|defwinproc },
+ { HCBT_DESTROYWND, hook },
{ WM_DESTROY, sent },
{ WM_NCDESTROY, sent },
{ 0 }
@@ -1092,7 +1095,8 @@ static LRESULT CALLBACK cbt_hook_proc(in
!strcmp(buf, "TestParentClass") ||
!strcmp(buf, "TestPopupClass") ||
!strcmp(buf, "SimpleWindowClass") ||
- !strcmp(buf, "TestDialogClass"))
+ !strcmp(buf, "TestDialogClass") ||
+ !strcmp(buf, "#32770"))
{
struct message msg;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic