|
/*
Project : RSS Reader plugin for Internet Explorer
File Name : RRPReflectionWindow.h
Date :
Purpose : This class is the reflection window of the toolbar which
receives all the input window message and reflect all of
them to its child which is the actual toolbar.
Note : This is the best method of implementing IE toolbar.
(SEE Codeproject.com)
Send comments
or Bugs to : prafulla_t@users.sourceforge.net
*/
#pragma once
#ifndef __RRPREFLECTIONWINDOW_H_
#define __RRPREFLECTIONWINDOW_H_
#include "StdAfx.h"
#include <commctrl.h>
#include <atlapp.h>
#include <atlctrls.h>
/*
This class is the reflection window of the toolbar which receives all the
input window message and reflect all of them to its children which is the actual
toolbar.
This is the best method of implementing IE toolbar.
(SEE Codeproject.com)
*/
class RRPReflectionWindow : public CWindowImpl<RRPReflectionWindow, CToolBarCtrl>
{
public:
RRPReflectionWindow(void) {
debug = RRPDebugInfoLogger::getInstance();
debug->setDebug(true);
};
~RRPReflectionWindow(void);
DECLARE_WND_SUPERCLASS( _T("RRPReflector Control"), CToolBarCtrl::GetWndClassName() )
// Make sure we reflect everything back to the child
BEGIN_MSG_MAP(CBandToolBarReflectorCtrl)
REFLECT_NOTIFICATIONS()
END_MSG_MAP()
protected :
RRPDebugInfoLogger *debug;
};
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Quote : "Life is all about solving problems and enjoying their solutions !! "