Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Icontitle window class. |
| 3 | * |
| 4 | * Copyright 1997 Alex Korobka |
Alexandre Julliard | 0799c1a | 2002-03-09 23:29:33 +0000 | [diff] [blame] | 5 | * |
| 6 | * This library is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU Lesser General Public |
| 8 | * License as published by the Free Software Foundation; either |
| 9 | * version 2.1 of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * Lesser General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU Lesser General Public |
| 17 | * License along with this library; if not, write to the Free Software |
Jonathan Ernst | 360a3f9 | 2006-05-18 14:49:52 +0200 | [diff] [blame] | 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 19 | */ |
| 20 | |
Patrik Stridvall | d016f81 | 2002-08-17 00:43:16 +0000 | [diff] [blame] | 21 | #include "config.h" |
| 22 | |
Alexandre Julliard | e37c6e1 | 2003-09-05 23:08:26 +0000 | [diff] [blame] | 23 | #include <stdarg.h> |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 24 | #include <stdio.h> |
| 25 | #include <string.h> |
Patrik Stridvall | d016f81 | 2002-08-17 00:43:16 +0000 | [diff] [blame] | 26 | #ifdef HAVE_UNISTD_H |
| 27 | # include <unistd.h> |
| 28 | #endif |
François Gouget | 44a1822 | 2000-12-19 04:53:20 +0000 | [diff] [blame] | 29 | |
Jeremy White | d3e22d9 | 2000-02-10 19:03:02 +0000 | [diff] [blame] | 30 | #include "windef.h" |
François Gouget | 44a1822 | 2000-12-19 04:53:20 +0000 | [diff] [blame] | 31 | #include "winbase.h" |
Jeremy White | d3e22d9 | 2000-02-10 19:03:02 +0000 | [diff] [blame] | 32 | #include "wingdi.h" |
Michael Veksler | ca1bc86 | 1999-01-01 18:57:33 +0000 | [diff] [blame] | 33 | #include "winuser.h" |
Alexandre Julliard | c7e7df8 | 2000-08-14 14:41:19 +0000 | [diff] [blame] | 34 | #include "wine/unicode.h" |
Alexandre Julliard | 91222da | 2000-12-10 23:01:33 +0000 | [diff] [blame] | 35 | #include "controls.h" |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 36 | #include "win.h" |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 37 | |
Alexandre Julliard | 2682bc2 | 2000-11-27 22:03:23 +0000 | [diff] [blame] | 38 | static BOOL bMultiLineTitle; |
| 39 | static HFONT hIconTitleFont; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 40 | |
Alexandre Julliard | 91222da | 2000-12-10 23:01:33 +0000 | [diff] [blame] | 41 | static LRESULT WINAPI IconTitleWndProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 42 | |
Alexandre Julliard | 91222da | 2000-12-10 23:01:33 +0000 | [diff] [blame] | 43 | /********************************************************************* |
| 44 | * icon title class descriptor |
| 45 | */ |
| 46 | const struct builtin_class_descr ICONTITLE_builtin_class = |
| 47 | { |
Alexandre Julliard | bfe88a0 | 2007-11-01 12:55:00 +0100 | [diff] [blame] | 48 | (LPCWSTR)ICONTITLE_CLASS_ATOM, /* name */ |
Alexandre Julliard | b062210 | 2003-12-10 04:14:35 +0000 | [diff] [blame] | 49 | 0, /* style */ |
Alexandre Julliard | 91222da | 2000-12-10 23:01:33 +0000 | [diff] [blame] | 50 | NULL, /* procA (winproc is Unicode only) */ |
| 51 | IconTitleWndProc, /* procW */ |
| 52 | 0, /* extra */ |
Alexandre Julliard | cf52644 | 2003-09-10 03:56:47 +0000 | [diff] [blame] | 53 | IDC_ARROW, /* cursor */ |
Alexandre Julliard | 91222da | 2000-12-10 23:01:33 +0000 | [diff] [blame] | 54 | 0 /* brush */ |
| 55 | }; |
| 56 | |
| 57 | |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 58 | |
| 59 | /*********************************************************************** |
| 60 | * ICONTITLE_Create |
| 61 | */ |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 62 | HWND ICONTITLE_Create( HWND owner ) |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 63 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 64 | HWND hWnd; |
Robert Shearman | 2e9436c | 2004-08-17 22:29:29 +0000 | [diff] [blame] | 65 | HINSTANCE instance = (HINSTANCE)GetWindowLongPtrA( owner, GWLP_HINSTANCE ); |
Alexandre Julliard | 8fd26b9 | 2001-10-15 17:56:45 +0000 | [diff] [blame] | 66 | LONG style = WS_CLIPSIBLINGS; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 67 | |
Alexandre Julliard | 8fd26b9 | 2001-10-15 17:56:45 +0000 | [diff] [blame] | 68 | if (!IsWindowEnabled(owner)) style |= WS_DISABLED; |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 69 | if( GetWindowLongA( owner, GWL_STYLE ) & WS_CHILD ) |
Francois Gouget | a7f8195 | 2006-11-08 01:19:02 +0100 | [diff] [blame] | 70 | hWnd = CreateWindowExA( 0, (LPCSTR)ICONTITLE_CLASS_ATOM, NULL, |
Alexandre Julliard | 8fd26b9 | 2001-10-15 17:56:45 +0000 | [diff] [blame] | 71 | style | WS_CHILD, 0, 0, 1, 1, |
| 72 | GetParent(owner), 0, instance, NULL ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 73 | else |
Francois Gouget | a7f8195 | 2006-11-08 01:19:02 +0100 | [diff] [blame] | 74 | hWnd = CreateWindowExA( 0, (LPCSTR)ICONTITLE_CLASS_ATOM, NULL, |
Alexandre Julliard | 8fd26b9 | 2001-10-15 17:56:45 +0000 | [diff] [blame] | 75 | style, 0, 0, 1, 1, |
| 76 | owner, 0, instance, NULL ); |
Alexandre Julliard | fb0ff05 | 2001-10-16 21:58:58 +0000 | [diff] [blame] | 77 | WIN_SetOwner( hWnd, owner ); /* MDI depends on this */ |
| 78 | SetWindowLongW( hWnd, GWL_STYLE, |
| 79 | GetWindowLongW( hWnd, GWL_STYLE ) & ~(WS_CAPTION | WS_BORDER) ); |
Alexandre Julliard | 8fd26b9 | 2001-10-15 17:56:45 +0000 | [diff] [blame] | 80 | return hWnd; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 81 | } |
| 82 | |
| 83 | /*********************************************************************** |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 84 | * ICONTITLE_SetTitlePos |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 85 | */ |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 86 | static BOOL ICONTITLE_SetTitlePos( HWND hwnd, HWND owner ) |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 87 | { |
Francois Gouget | ebf0eb3 | 2004-04-20 00:34:52 +0000 | [diff] [blame] | 88 | static const WCHAR emptyTitleText[] = {'<','.','.','.','>',0}; |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 89 | WCHAR str[80]; |
| 90 | HDC hDC; |
| 91 | HFONT hPrevFont; |
| 92 | RECT rect; |
| 93 | INT cx, cy; |
| 94 | POINT pt; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 95 | |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 96 | int length = GetWindowTextW( owner, str, sizeof(str)/sizeof(WCHAR) ); |
| 97 | |
| 98 | while (length && str[length - 1] == ' ') /* remove trailing spaces */ |
| 99 | str[--length] = 0; |
| 100 | |
| 101 | if( !length ) |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 102 | { |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 103 | strcpyW( str, emptyTitleText ); |
| 104 | length = strlenW( str ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 105 | } |
| 106 | |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 107 | if (!(hDC = GetDC( hwnd ))) return FALSE; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 108 | |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 109 | hPrevFont = SelectObject( hDC, hIconTitleFont ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 110 | |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 111 | SetRect( &rect, 0, 0, GetSystemMetrics(SM_CXICONSPACING) - |
| 112 | GetSystemMetrics(SM_CXBORDER) * 2, |
| 113 | GetSystemMetrics(SM_CYBORDER) * 2 ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 114 | |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 115 | DrawTextW( hDC, str, length, &rect, DT_CALCRECT | DT_CENTER | DT_NOPREFIX | DT_WORDBREAK | |
| 116 | (( bMultiLineTitle ) ? 0 : DT_SINGLELINE) ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 117 | |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 118 | SelectObject( hDC, hPrevFont ); |
| 119 | ReleaseDC( hwnd, hDC ); |
| 120 | |
| 121 | cx = rect.right - rect.left + 4 * GetSystemMetrics(SM_CXBORDER); |
| 122 | cy = rect.bottom - rect.top; |
| 123 | |
| 124 | pt.x = (GetSystemMetrics(SM_CXICON) - cx) / 2; |
| 125 | pt.y = GetSystemMetrics(SM_CYICON); |
| 126 | |
| 127 | /* point is relative to owner, make it relative to parent */ |
| 128 | MapWindowPoints( owner, GetParent(hwnd), &pt, 1 ); |
| 129 | |
| 130 | SetWindowPos( hwnd, owner, pt.x, pt.y, cx, cy, SWP_NOACTIVATE ); |
| 131 | return TRUE; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 132 | } |
| 133 | |
| 134 | /*********************************************************************** |
| 135 | * ICONTITLE_Paint |
| 136 | */ |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 137 | static BOOL ICONTITLE_Paint( HWND hwnd, HWND owner, HDC hDC, BOOL bActive ) |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 138 | { |
Alexandre Julliard | d23a82b | 2001-09-19 20:37:04 +0000 | [diff] [blame] | 139 | RECT rect; |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 140 | HFONT hPrevFont; |
| 141 | HBRUSH hBrush = 0; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 142 | COLORREF textColor = 0; |
| 143 | |
| 144 | if( bActive ) |
| 145 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 146 | hBrush = GetSysColorBrush(COLOR_ACTIVECAPTION); |
| 147 | textColor = GetSysColor(COLOR_CAPTIONTEXT); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 148 | } |
Vincent Béron | 9a62491 | 2002-05-31 23:06:46 +0000 | [diff] [blame] | 149 | else |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 150 | { |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 151 | if( GetWindowLongA( hwnd, GWL_STYLE ) & WS_CHILD ) |
Vincent Béron | 9a62491 | 2002-05-31 23:06:46 +0000 | [diff] [blame] | 152 | { |
Dmitry Timoshkov | 39f960b | 2005-02-15 21:51:06 +0000 | [diff] [blame] | 153 | hBrush = (HBRUSH) GetClassLongPtrW(hwnd, GCLP_HBRBACKGROUND); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 154 | if( hBrush ) |
| 155 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 156 | INT level; |
| 157 | LOGBRUSH logBrush; |
| 158 | GetObjectA( hBrush, sizeof(logBrush), &logBrush ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 159 | level = GetRValue(logBrush.lbColor) + |
| 160 | GetGValue(logBrush.lbColor) + |
| 161 | GetBValue(logBrush.lbColor); |
| 162 | if( level < (0x7F * 3) ) |
| 163 | textColor = RGB( 0xFF, 0xFF, 0xFF ); |
| 164 | } |
| 165 | else |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 166 | hBrush = GetStockObject( WHITE_BRUSH ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 167 | } |
| 168 | else |
| 169 | { |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 170 | hBrush = GetStockObject( BLACK_BRUSH ); |
Vincent Béron | 9a62491 | 2002-05-31 23:06:46 +0000 | [diff] [blame] | 171 | textColor = RGB( 0xFF, 0xFF, 0xFF ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 172 | } |
| 173 | } |
| 174 | |
Alexandre Julliard | d23a82b | 2001-09-19 20:37:04 +0000 | [diff] [blame] | 175 | GetClientRect( hwnd, &rect ); |
| 176 | DPtoLP( hDC, (LPPOINT)&rect, 2 ); |
| 177 | FillRect( hDC, &rect, hBrush ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 178 | |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 179 | hPrevFont = SelectObject( hDC, hIconTitleFont ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 180 | if( hPrevFont ) |
| 181 | { |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 182 | WCHAR buffer[80]; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 183 | |
Rob Shearman | 3d55b59 | 2008-02-14 14:39:07 +0000 | [diff] [blame] | 184 | INT length = GetWindowTextW( owner, buffer, sizeof(buffer)/sizeof(buffer[0]) ); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 185 | SetTextColor( hDC, textColor ); |
| 186 | SetBkMode( hDC, TRANSPARENT ); |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 187 | |
| 188 | DrawTextW( hDC, buffer, length, &rect, DT_CENTER | DT_NOPREFIX | |
| 189 | DT_WORDBREAK | ((bMultiLineTitle) ? 0 : DT_SINGLELINE) ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 190 | |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 191 | SelectObject( hDC, hPrevFont ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 192 | } |
Alexandre Julliard | d23a82b | 2001-09-19 20:37:04 +0000 | [diff] [blame] | 193 | return (hPrevFont != 0); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 194 | } |
| 195 | |
| 196 | /*********************************************************************** |
| 197 | * IconTitleWndProc |
| 198 | */ |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 199 | LRESULT WINAPI IconTitleWndProc( HWND hWnd, UINT msg, |
| 200 | WPARAM wParam, LPARAM lParam ) |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 201 | { |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 202 | HWND owner = GetWindow( hWnd, GW_OWNER ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 203 | |
Alexandre Julliard | d23a82b | 2001-09-19 20:37:04 +0000 | [diff] [blame] | 204 | if (!IsWindow(hWnd)) return 0; |
Jukka Heinonen | 186a79c | 2001-07-24 01:16:16 +0000 | [diff] [blame] | 205 | |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 206 | switch( msg ) |
| 207 | { |
Alexandre Julliard | 91222da | 2000-12-10 23:01:33 +0000 | [diff] [blame] | 208 | case WM_CREATE: |
| 209 | if (!hIconTitleFont) |
| 210 | { |
| 211 | LOGFONTA logFont; |
| 212 | SystemParametersInfoA( SPI_GETICONTITLELOGFONT, 0, &logFont, 0 ); |
| 213 | SystemParametersInfoA( SPI_GETICONTITLEWRAP, 0, &bMultiLineTitle, 0 ); |
| 214 | hIconTitleFont = CreateFontIndirectA( &logFont ); |
| 215 | } |
Alexandre Julliard | d23a82b | 2001-09-19 20:37:04 +0000 | [diff] [blame] | 216 | return (hIconTitleFont ? 0 : -1); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 217 | case WM_NCHITTEST: |
Alexandre Julliard | d23a82b | 2001-09-19 20:37:04 +0000 | [diff] [blame] | 218 | return HTCAPTION; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 219 | case WM_NCMOUSEMOVE: |
| 220 | case WM_NCLBUTTONDBLCLK: |
Alexandre Julliard | d23a82b | 2001-09-19 20:37:04 +0000 | [diff] [blame] | 221 | return SendMessageW( owner, msg, wParam, lParam ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 222 | case WM_ACTIVATE: |
Alexandre Julliard | de42428 | 2001-08-10 22:51:42 +0000 | [diff] [blame] | 223 | if( wParam ) SetActiveWindow( owner ); |
Alexandre Julliard | d23a82b | 2001-09-19 20:37:04 +0000 | [diff] [blame] | 224 | return 0; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 225 | case WM_CLOSE: |
Alexandre Julliard | d23a82b | 2001-09-19 20:37:04 +0000 | [diff] [blame] | 226 | return 0; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 227 | case WM_SHOWWINDOW: |
Alexandre Julliard | d23a82b | 2001-09-19 20:37:04 +0000 | [diff] [blame] | 228 | if (wParam) ICONTITLE_SetTitlePos( hWnd, owner ); |
| 229 | return 0; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 230 | case WM_ERASEBKGND: |
Alexandre Julliard | 6ebbfd4 | 2006-05-10 21:33:33 +0200 | [diff] [blame] | 231 | if( GetWindowLongW( owner, GWL_STYLE ) & WS_CHILD ) |
| 232 | lParam = SendMessageW( owner, WM_ISACTIVEICON, 0, 0 ); |
Alexandre Julliard | d23a82b | 2001-09-19 20:37:04 +0000 | [diff] [blame] | 233 | else |
| 234 | lParam = (owner == GetActiveWindow()); |
| 235 | if( ICONTITLE_Paint( hWnd, owner, (HDC)wParam, (BOOL)lParam ) ) |
| 236 | ValidateRect( hWnd, NULL ); |
| 237 | return 1; |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 238 | } |
Alexandre Julliard | d23a82b | 2001-09-19 20:37:04 +0000 | [diff] [blame] | 239 | return DefWindowProcW( hWnd, msg, wParam, lParam ); |
Alexandre Julliard | 23946ad | 1997-06-16 17:43:53 +0000 | [diff] [blame] | 240 | } |