mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
[SHELL32]: Few SendMessageA -> SendMessageW conversions, and whitespace fixes.
svn path=/trunk/; revision=70993
This commit is contained in:
parent
264200c726
commit
431880741a
|
@ -84,7 +84,7 @@ DestroyIconList(HWND hDlgCtrl)
|
|||
int count;
|
||||
int index;
|
||||
|
||||
count = SendMessage(hDlgCtrl, LB_GETCOUNT, 0, 0);
|
||||
count = SendMessageW(hDlgCtrl, LB_GETCOUNT, 0, 0);
|
||||
if (count == LB_ERR)
|
||||
return;
|
||||
|
||||
|
@ -123,7 +123,7 @@ INT_PTR CALLBACK PickIconProc(HWND hwndDlg,
|
|||
else
|
||||
SetDlgItemTextW(hwndDlg, IDC_EDIT_PATH, pIconContext->szName);
|
||||
|
||||
count = SendMessage(pIconContext->hDlgCtrl, LB_GETCOUNT, 0, 0);
|
||||
count = SendMessageW(pIconContext->hDlgCtrl, LB_GETCOUNT, 0, 0);
|
||||
if (count != LB_ERR)
|
||||
{
|
||||
if (count > pIconContext->Index)
|
||||
|
@ -204,7 +204,7 @@ INT_PTR CALLBACK PickIconProc(HWND hwndDlg,
|
|||
case ODA_SELECT:
|
||||
case ODA_DRAWENTIRE:
|
||||
index = SendMessageW(pIconContext->hDlgCtrl, LB_GETCURSEL, 0, 0);
|
||||
hIcon =(HICON)SendMessage(lpdis->hwndItem, LB_GETITEMDATA, lpdis->itemID, (LPARAM) 0);
|
||||
hIcon = (HICON)SendMessageW(lpdis->hwndItem, LB_GETITEMDATA, lpdis->itemID, 0);
|
||||
|
||||
if (lpdis->itemID == (UINT)index)
|
||||
{
|
||||
|
@ -448,7 +448,7 @@ static INT_PTR CALLBACK RunDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARA
|
|||
{
|
||||
HeapFree(GetProcessHeap(), 0, psz);
|
||||
HeapFree(GetProcessHeap(), 0, parent);
|
||||
SendMessageA (htxt, CB_SETEDITSEL, 0, MAKELPARAM (0, -1));
|
||||
SendMessageW(htxt, CB_SETEDITSEL, 0, MAKELPARAM (0, -1));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue