Re: [COMCTL32] Set default size in ToolBar.SetBitmapSize
"Yuri Kozlov" <kozlov.y(a)gmail.com> wrote:
changelog: [COMCTL32] set default size for toolbar bitmap if not specified
--- wine/dlls/comctl32/toolbar.c 2005-08-16 19:25:16.000000000 +0400 +++ bwine/dlls/comctl32/toolbar.c 2005-08-27 13:12:46.000000000 +0400 @@ -4719,7 +4719,7 @@ FIXME("wParam is %d. Perhaps image list index?\n", wParam);
if ((LOWORD(lParam) <= 0) || (HIWORD(lParam)<=0)) - return FALSE; + lParam = MAKELONG(16, 15);
Better use MAKELPARAM here since it's a 64-bit entity in Win64. -- Dmitry.
2005/8/27, Dmitry Timoshkov <dmitry(a)baikal.ru>:
"Yuri Kozlov" <kozlov.y(a)gmail.com> wrote:
changelog: [COMCTL32] set default size for toolbar bitmap if not specified
--- wine/dlls/comctl32/toolbar.c 2005-08-16 19:25:16.000000000 +0400 +++ bwine/dlls/comctl32/toolbar.c 2005-08-27 13:12:46.000000000 +0400 @@ -4719,7 +4719,7 @@ FIXME("wParam is %d. Perhaps image list index?\n", wParam);
if ((LOWORD(lParam) <= 0) || (HIWORD(lParam)<=0)) - return FALSE; + lParam = MAKELONG(16, 15);
Better use MAKELPARAM here since it's a 64-bit entity in Win64.
Ok. Fixed path sended. -- Regards, Yuri Kozlov
participants (2)
-
Dmitry Timoshkov -
Yuri Kozlov