Commit df715e5a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

user32: Make it possible to create windows for redirected classes.

parent 6fd9a98f
......@@ -325,7 +325,7 @@ static void CLASS_FreeClass( CLASS *classPtr )
USER_Unlock();
}
static const WCHAR *CLASS_GetVersionedName( const WCHAR *name )
const WCHAR *CLASS_GetVersionedName( const WCHAR *name )
{
ACTCTX_SECTION_KEYED_DATA data;
struct wndclass_redirect_data
......
......@@ -269,6 +269,8 @@ extern INT_PTR WINPROC_CallDlgProcW( DLGPROC func, HWND hwnd, UINT msg, WPARAM w
extern BOOL WINPROC_call_window( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam,
LRESULT *result, BOOL unicode, enum wm_char_mapping mapping ) DECLSPEC_HIDDEN;
extern const WCHAR *CLASS_GetVersionedName(const WCHAR *classname) DECLSPEC_HIDDEN;
/* message spy definitions */
#define SPY_DISPATCHMESSAGE 0x0100
......
......@@ -1333,13 +1333,16 @@ HWND WIN_CreateWindowEx( CREATESTRUCTW *cs, LPCWSTR className, HINSTANCE module,
RECT rect;
WND *wndPtr;
HWND hwnd, parent, owner, top_child = 0;
const WCHAR *p = className;
MDICREATESTRUCTW mdi_cs;
CBT_CREATEWNDW cbtc;
CREATESTRUCTW cbcs;
TRACE("%s %s ex=%08x style=%08x %d,%d %dx%d parent=%p menu=%p inst=%p params=%p\n",
className = CLASS_GetVersionedName(className);
TRACE("%s %s%s%s ex=%08x style=%08x %d,%d %dx%d parent=%p menu=%p inst=%p params=%p\n",
unicode ? debugstr_w(cs->lpszName) : debugstr_a((LPCSTR)cs->lpszName),
debugstr_w(className),
debugstr_w(p), p != className ? "->" : "", p != className ? debugstr_w(className) : "",
cs->dwExStyle, cs->style, cs->x, cs->y, cs->cx, cs->cy,
cs->hwndParent, cs->hMenu, cs->hInstance, cs->lpCreateParams );
if(TRACE_ON(win)) dump_window_styles( cs->style, cs->dwExStyle );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment