messagesdialog.h

来自「压缩软件源码」· C头文件 代码 · 共 24 行

H
24
字号
// MessagesDialog.h

#ifndef __MESSAGESDIALOG_H
#define __MESSAGESDIALOG_H

#include "resource.h"

#include "Windows/Control/Dialog.h"
#include "Windows/Control/ListView.h"

class CMessagesDialog: public NWindows::NControl::CModalDialog
{
	NWindows::NControl::CListView	_messageList;
	void AddMessageDirect(LPCTSTR message);
	void AddMessage(LPCWSTR message);
  virtual bool OnInit();
public:
  const UStringVector *Messages;
  INT_PTR Create(HWND parentWindow = 0)
    { return CModalDialog::Create(MAKEINTRESOURCE(IDD_DIALOG_MESSAGES), parentWindow); }
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?