Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

47 lines
1.0 KiB

// displayh.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDisplayHelp dialog
#ifndef __DISPLAYH_H__
#define __DISPLAYH_H__
class CDisplayHelp
{
// Construction
public:
CDisplayHelp(HINSTANCE m_hInst, UINT uID, HWND m_hDlg, UINT iTitle, CFileList *ptfl); // standard constructor
~CDisplayHelp();
DoModal();
void SetText (PSZ pszText ) { m_pszText = pszText ; }
void SetTitle(PSZ pszTitle) { m_pszTitle = pszTitle; }
void UpdateDialog();
private:
HINSTANCE m_hInst;
UINT m_ID;
HWND m_hParent;
HWND m_hDlg;
HWND m_hText; // Handle to the text window
UINT m_iTitle; // The title index within the file list
CFileList *m_ptfl; // The file list.
PSZ m_pszText;
PSZ m_pszTitle;
void OnOK();
void OnCancel();
static BOOL CALLBACK DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
// Implementation
protected:
BOOL OnInitDialog();
};
#endif // __DISPLAYH_H__