• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // MessagesDialog.h
2 
3 #ifndef ZIP7_INC_MESSAGES_DIALOG_H
4 #define ZIP7_INC_MESSAGES_DIALOG_H
5 
6 #include "../../../Windows/Control/Dialog.h"
7 #include "../../../Windows/Control/ListView.h"
8 
9 #include "MessagesDialogRes.h"
10 
11 class CMessagesDialog: public NWindows::NControl::CModalDialog
12 {
13   NWindows::NControl::CListView _messageList;
14 
15   void AddMessageDirect(LPCWSTR message);
16   void AddMessage(LPCWSTR message);
17   virtual bool OnInit() Z7_override;
18   virtual bool OnSize(WPARAM wParam, int xSize, int ySize) Z7_override;
19 public:
20   const UStringVector *Messages;
21 
22   INT_PTR Create(HWND parent = NULL) { return CModalDialog::Create(IDD_MESSAGES, parent); }
23 };
24 
25 #endif
26