mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 01:40:36 +00:00
[RAPPS] CDowloadingAppsListView: The download dialog doesn't use the layout engine so there is no need for it to be a CUiWindow
This commit is contained in:
parent
653894b972
commit
96fba571e0
1 changed files with 2 additions and 3 deletions
|
@ -258,7 +258,7 @@ public:
|
|||
};
|
||||
|
||||
class CDowloadingAppsListView
|
||||
: public CUiWindow<CListView>
|
||||
: public CListView
|
||||
{
|
||||
public:
|
||||
HWND Create(HWND hwndParent)
|
||||
|
@ -285,9 +285,8 @@ public:
|
|||
|
||||
VOID SetDownloadStatus(INT ItemIndex, DownloadStatus Status)
|
||||
{
|
||||
HWND hListView = GetWindow();
|
||||
ATL::CStringW szBuffer = LoadStatusString(Status);
|
||||
ListView_SetItemText(hListView, ItemIndex, 1, const_cast<LPWSTR>(szBuffer.GetString()));
|
||||
SetItemText(ItemIndex, 1, szBuffer.GetString());
|
||||
}
|
||||
|
||||
BOOL AddItem(INT ItemIndex, LPWSTR lpText)
|
||||
|
|
Loading…
Reference in a new issue