8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 00:43:02 +01:00
firebird-mirror/src/utilities/fbcpl/ctrlpan.h

32 lines
801 B
C
Raw Normal View History

// CtrlPan.h
#if !defined(UTILITIES_CTRLPAN_H)
#define UTILITIES_CTRLPAN_H
#include <cpl.h> // control panel definitions
class CControlPanel
{
public:
CControlPanel();
2008-12-05 01:56:15 +01:00
virtual ~CControlPanel();
// Event handlers
2008-12-05 01:56:15 +01:00
virtual LONG OnDblclk(HWND hwndCPl, UINT uAppNum, LONG lData);
virtual LONG OnExit();
virtual LONG OnGetCount();
virtual LONG OnInit();
2008-12-05 01:56:15 +01:00
virtual LONG OnInquire(UINT uAppNum, NEWCPLINFO* pInfo);
virtual LONG OnSelect(UINT uAppNum, LONG lData);
virtual LONG OnStop(UINT uAppNum, LONG lData);
// static member functions (callbacks)
2009-01-18 12:29:24 +01:00
static LONG APIENTRY CPlApplet(HWND hwndCPl, UINT uMsg, LONG lParam1, LONG lParam2);
// static data
static CControlPanel* m_pThis; // nasty hack to get object ptr
};
#endif // UTILITIES_CTRLPAN_H