mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:45:41 +00:00
[SDK] Fix compilation error
../sdk/include/reactos/rosctrls.h:283:59: error: no matching function for call to 'CToolbar<TItemData>::SendMessageW(int, HWND__*&, int)' return SendMessageW(TB_SETTOOLTIPS, hWndTooltip, 0); ../sdk/include/psdk/winuser.h:5543:21: note: candidate: LRESULT ATL::CWindow::SendMessageW(UINT, WPARAM, LPARAM) <near match> ../sdk/include/psdk/winuser.h:5543:21: note: conversion of argument 2 would be ill-formed
This commit is contained in:
parent
a15160cd45
commit
c3e2a54789
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ public: // Configuration methods
|
||||||
|
|
||||||
DWORD SetTooltip(HWND hWndTooltip)
|
DWORD SetTooltip(HWND hWndTooltip)
|
||||||
{
|
{
|
||||||
return SendMessageW(TB_SETTOOLTIPS, hWndTooltip, 0);
|
return SendMessageW(TB_SETTOOLTIPS, reinterpret_cast<WPARAM>(hWndTooltip), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
INT GetHotItem()
|
INT GetHotItem()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue