|
//
// kwedit.h
//
// (C) Copyright 2000-2002 by Jan van den Baard.
// All Rights Reserved.
//
// Keyword list edit dialog.
//
// Keyword edit dialog class.
class KWEdit : public ClsSizeDialog
{
_NO_COPY( KWEdit );
public:
// Construction/destruction.
KWEdit();
virtual ~KWEdit();
// Implementation.
void Edit( ClsWindow& Parent, LPKEYWORDS pKW, KeywordEdit *pKWE );
protected:
// Overidables.
virtual LRESULT OnInitDialog( LPPROPSHEETPAGE pPsp );
virtual LRESULT OnCommand( UINT nNotifyCode, UINT nCtrlID, HWND hWndCtrl );
virtual LRESULT OnClose() { EndDialog( FALSE ); return 0;}
virtual LRESULT OnSize( UINT nSizeType, int nWidth, int nHeight );
virtual LRESULT WindowProc( UINT uMsg, WPARAM wParam, LPARAM lParam );
// Helpers.
BOOL SaveKeywords();
// Data
ClsLayoutEngine m_Master, m_Buttons;
ClsSize m_MinSize;
ClsLStatic m_Static;
ClsLPushButton m_Ok, m_Cancel;
ClsBrainchild m_Edit;
TCHAR m_szOutput[ MAX_PATH ];
LPKEYWORDS m_pKW;
COLORREF m_crBkgnd;
HICON m_hIcon;
};
|
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.
I have been programming for a hobby since 1985. I have started programming on the C= 64. After that I migrated to the C= Amiga which I traded in for a PC back in 1997 I believe. Back in 2000 I decided to lose a hobby and start developing software for a living.
Currently I am working mainly in developing software for building security and access control systems.