Path: blob/main/crypto/krb5/src/windows/leash/LeashMessageBox.h
34890 views
// **************************************************************************************1// File: LeashMessageBox.h2// By: Arthur David Leather3// Created: 12/02/984// Copyright @1998 Massachusetts Institute of Technology - All rights reserved.5// Description: H file for LeashMessageBox.cpp. Contains variables and functions6// for the Leash Special Message Dialog Box7//8// History:9//10// MM/DD/YY Inits Description of Change11// 12/02/98 ADL Original12// **************************************************************************************131415#if !defined(AFX_LEASHMESSAGEBOX_H__865865B6_56F6_11D2_945F_0000861B8A3C__INCLUDED_)16#define AFX_LEASHMESSAGEBOX_H__865865B6_56F6_11D2_945F_0000861B8A3C__INCLUDED_1718#if _MSC_VER > 100019#pragma once20#endif // _MSC_VER > 100021// LeashMessageBox.h : header file22//2324/////////////////////////////////////////////////////////////////////////////25// CLeashMessageBox dialog2627#include "windows.h"2829class CLeashMessageBox : public CDialog30{31private:32static DWORD m_dwTime;33static void CALLBACK MessageBoxTimer(HWND hwnd, UINT uiMsg, UINT_PTR idEvent, DWORD dwTime);3435// Construction36public:37CLeashMessageBox(CWnd* pParent = NULL, const CString msgText = "Place your message here!!!",38DWORD dwTime = 0);39~CLeashMessageBox();4041// Dialog Data42//{{AFX_DATA(CLeashMessageBox)43enum { IDD = IDD_MESSAGE_BOX };44CString m_messageText;45//}}AFX_DATA464748// Overrides49// ClassWizard generated virtual function overrides50//{{AFX_VIRTUAL(CLeashMessageBox)51protected:52virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support53//}}AFX_VIRTUAL5455// Implementation56protected:5758// Generated message map functions59//{{AFX_MSG(CLeashMessageBox)60virtual BOOL OnInitDialog();61virtual void OnOK();62//}}AFX_MSG63DECLARE_MESSAGE_MAP()64};6566//{{AFX_INSERT_LOCATION}}67// Microsoft Visual C++ will insert additional declarations immediately before the previous line.6869#endif // !defined(AFX_LEASHMESSAGEBOX_H__865865B6_56F6_11D2_945F_0000861B8A3C__INCLUDED_)707172