projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[EXPLORER-NEW]
[reactos.git]
/
base
/
shell
/
explorer-new
/
trayntfy.cpp
diff --git
a/base/shell/explorer-new/trayntfy.cpp
b/base/shell/explorer-new/trayntfy.cpp
index
189b46f
..
c74994a
100644
(file)
--- a/
base/shell/explorer-new/trayntfy.cpp
+++ b/
base/shell/explorer-new/trayntfy.cpp
@@
-44,59
+44,59
@@
class CToolbar :
public:
int GetItemCount()
{
public:
int GetItemCount()
{
- return
SendMessage
(TB_BUTTONCOUNT);
+ return
this->SendMessageW
(TB_BUTTONCOUNT);
}
DWORD GetButton(int index, TBBUTTON * btn)
{
}
DWORD GetButton(int index, TBBUTTON * btn)
{
- return
SendMessage(TB_GETBUTTON, index, (LPARAM)
btn);
+ return
this->SendMessageW(TB_GETBUTTON, index, (LPARAM)
btn);
}
DWORD AddButton(TBBUTTON * btn)
{
}
DWORD AddButton(TBBUTTON * btn)
{
- return
SendMessage
(TB_ADDBUTTONS, 1, (LPARAM) btn);
+ return
this->SendMessageW
(TB_ADDBUTTONS, 1, (LPARAM) btn);
}
DWORD AddButtons(int count, TBBUTTON * buttons)
{
}
DWORD AddButtons(int count, TBBUTTON * buttons)
{
- return
SendMessage(TB_ADDBUTTONS, count, (LPARAM) btn
);
+ return
this->SendMessageW(TB_ADDBUTTONS, count, (LPARAM) buttons
);
}
DWORD InsertButton(int insertAt, TBBUTTON * btn)
{
}
DWORD InsertButton(int insertAt, TBBUTTON * btn)
{
- return
SendMessage
(TB_INSERTBUTTON, insertAt, (LPARAM) btn);
+ return
this->SendMessageW
(TB_INSERTBUTTON, insertAt, (LPARAM) btn);
}
DWORD MoveButton(int oldIndex, int newIndex)
{
}
DWORD MoveButton(int oldIndex, int newIndex)
{
- return
SendMessage
(TB_MOVEBUTTON, oldIndex, newIndex);
+ return
this->SendMessageW
(TB_MOVEBUTTON, oldIndex, newIndex);
}
DWORD DeleteButton(int index)
{
}
DWORD DeleteButton(int index)
{
- return
SendMessage
(TB_DELETEBUTTON, index, 0);
+ return
this->SendMessageW
(TB_DELETEBUTTON, index, 0);
}
DWORD GetButtonInfo(int cmdId, TBBUTTONINFO * info)
{
}
DWORD GetButtonInfo(int cmdId, TBBUTTONINFO * info)
{
- return
SendMessage
(TB_GETBUTTONINFO, cmdId, (LPARAM) info);
+ return
this->SendMessageW
(TB_GETBUTTONINFO, cmdId, (LPARAM) info);
}
DWORD SetButtonInfo(int cmdId, TBBUTTONINFO * info)
{
}
DWORD SetButtonInfo(int cmdId, TBBUTTONINFO * info)
{
- return
SendMessage
(TB_SETBUTTONINFO, cmdId, (LPARAM) info);
+ return
this->SendMessageW
(TB_SETBUTTONINFO, cmdId, (LPARAM) info);
}
public:
DWORD SetButtonSize(int w, int h)
{
}
public:
DWORD SetButtonSize(int w, int h)
{
- return
SendMessage
(TB_SETBUTTONSIZE, 0, MAKELONG(w, h));
+ return
this->SendMessageW
(TB_SETBUTTONSIZE, 0, MAKELONG(w, h));
}
public:
DWORD AutoSize()
{
}
public:
DWORD AutoSize()
{
- return
SendMessage
(TB_AUTOSIZE);
+ return
this->SendMessageW
(TB_AUTOSIZE);
}
public:
}
public:
@@
-109,7
+109,7
@@
public:
DWORD SetItemData(int index, TItemData * data)
{
DWORD SetItemData(int index, TItemData * data)
{
- TBBUTTONINFO info = { 0 };
+ TBBUTTONINFO
W
info = { 0 };
info.cbSize = sizeof(info);
info.dwMask = TBIF_BYINDEX | TBIF_LPARAM;
info.lParam = (DWORD_PTR) data;
info.cbSize = sizeof(info);
info.dwMask = TBIF_BYINDEX | TBIF_LPARAM;
info.lParam = (DWORD_PTR) data;
@@
-120,7
+120,7
@@
public:
class CNotifyToolbar :
public CToolbar<NOTIFYICONDATA>
{
class CNotifyToolbar :
public CToolbar<NOTIFYICONDATA>
{
- const int ICON_SIZE = 16;
+
static
const int ICON_SIZE = 16;
HIMAGELIST SysIcons;
int VisibleButtonCount;
HIMAGELIST SysIcons;
int VisibleButtonCount;
@@
-286,7
+286,6
@@
public:
VOID RemoveButton(IN CONST NOTIFYICONDATA *iconData)
{
NOTIFYICONDATA * notifyItem;
VOID RemoveButton(IN CONST NOTIFYICONDATA *iconData)
{
NOTIFYICONDATA * notifyItem;
- TBBUTTONINFO tbbi = { 0 };
int index = FindItemByIconData(iconData, ¬ifyItem);
if (index < 0)
int index = FindItemByIconData(iconData, ¬ifyItem);
if (index < 0)