p7zip-rar/CPP/7zip/UI/FileManager/MessagesDialog.h
2017-10-11 12:40:22 +02:00

26 lines
624 B
C++

// MessagesDialog.h
#ifndef __MESSAGES_DIALOG_H
#define __MESSAGES_DIALOG_H
#include "../../../Windows/Control/Dialog.h"
#include "../../../Windows/Control/ListView.h"
#include "MessagesDialogRes.h"
class CMessagesDialog: public NWindows::NControl::CModalDialog
{
NWindows::NControl::CListView _messageList;
void AddMessageDirect(LPCWSTR message);
void AddMessage(LPCWSTR message);
virtual bool OnInit();
virtual bool OnSize(WPARAM wParam, int xSize, int ySize);
public:
const UStringVector *Messages;
INT_PTR Create(HWND parent = 0) { return CModalDialog::Create(IDD_MESSAGES, parent); }
};
#endif