Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

27 lines
637 B

//
// Copyright (c) 1996 - 1999 Microsoft Corporation. All Rights Reserved.
//
#ifndef __CMsgWindow__h
#define __CMsgWindow__h
//
// Message Window class (for handling WM_TIMER messages) definition
//
class CMsgWindow
{
public:
virtual ~CMsgWindow() ;
virtual bool Open( LPCTSTR pWindowName = 0);
virtual bool Close();
virtual LRESULT WndProc( UINT uMsg, WPARAM wParam, LPARAM lParam );
HWND GetHandle() const { return m_hWnd; } ;
void SetHandle(HWND hwnd) {m_hWnd = hwnd; } ;
protected:
CMsgWindow();
private:
HWND m_hWnd ;
};
#endif