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.
 
 
 
 
 
 

33 lines
1009 B

#pragma once
#include "atlwin.h"
#include "resource.h"
class CSxApwHostFrame : public ATL::CWindowImpl<CSxApwHostFrame, ATL::CWindow, ATL::CFrameWinTraits>
{
public:
BEGIN_MSG_MAP(CSxApwHostFrame)
MESSAGE_HANDLER( WM_SIZE, OnSize )
COMMAND_ID_HANDLER( IDM_CASCADE, OnTileCascade )
COMMAND_ID_HANDLER( IDM_HORTILE, OnTileHorizontal )
COMMAND_ID_HANDLER( IDM_VERTILE, OnTileVertical )
COMMAND_ID_HANDLER( IDM_APP_EXIT, OnAppExit )
END_MSG_MAP()
CSxApwHostFrame() { }
~CSxApwHostFrame() { }
void AddMenu();
LRESULT OnSize( UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled );
LRESULT OnTileCascade( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
LRESULT OnTileHorizontal( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
LRESULT OnTileVertical( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
LRESULT OnAppExit( WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled );
HWND m_hClient;
};