- visual_java_src.zip
- BATCH
- CLEAN.BAT
- MAKEBIN.BAT
- MAKEHELP.BAT
- RELEASE.BAT
- RELUSE.BAT
- USE.BAT
- BCGLIB
- CEXPAND.REG
- codetemplates__1.txt
- DISTRIB
- EDITPAD.TIP
- USRIMGS.BMP
- EDITPAD.DSP
- EDITPAD.DSW
- EDTLIB
- file0
- README.TXT
- VisualJava
- visual_java_demo.zip
- bcgcb453d.dll
- bcgcb453d.exp
- bcgcb453d.lib
- edtlibd.dll
- edtlibd.exp
- edtlibd.lib
- USRIMGS.BMP
- VisualJava.exe
- visual_java_demo1.zip
- bcgcb453d.dll
- bcgcb453d.exp
- bcgcb453d.lib
- edtlibd.dll
- edtlibd.exp
- edtlibd.lib
- USRIMGS.BMP
- VisualJava.exe
|
//-----------------------------------------------------------------------//
// This is a part of the GuiLib MFC Extention. //
// Autor : Francisco Campos //
// (C) 2002 Francisco Campos <www.beyondata.com> All rights reserved //
// This code is provided "as is", with absolutely no warranty expressed //
// or implied. Any use is at your own risk. //
// You must obtain the author's consent before you can include this code //
// in a software library. //
// If the source code in this file is used in any application //
// then acknowledgement must be made to the author of this program //
// fco_campos@tutopia.com //
//-----------------------------------------------------------------------//
#pragma once
#include "XPDrawLayer.h"
/////////////////////////////////////////////////////////////////////////////
// CGuiComboFont window
class BCGCONTROLBARDLLEXPORT CGuiComboFont : public CComboBox
{
// Construction
public:
DECLARE_DYNAMIC(CGuiComboFont)
CGuiComboFont();
virtual ~CGuiComboFont();
// Attributes
public:
// Operations
public:
enum enTypeShow{CM_NORMAL=0,CM_ONFOCUS,CM_SELECCIONADO};
public:
BOOL m_bOverCombo;
int m_iWidthDrowDown;
COLORREF m_clrBtnFace;
COLORREF m_clrBtnLight;
COLORREF m_clrBtnDark;
CFont m_Font;
BOOL m_bPress;
BOOL m_bFondoXp;
BOOL m_IsCallMiniTool;
BOOL bhistory;
public:
//******************************************************
void DrawCombo(enTypeShow enShow,CDC* pDC);
void DrawArrow(CDC* pDC,CRect m_rc);
void SetColor(COLORREF clrFace);
void AutoColor(BOOL bColor=TRUE);
virtual void PreSubclassWindow();
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
static BOOL CALLBACK EnumFontsProc (LPLOGFONT lplf, LPTEXTMETRIC lptm, DWORD dwFontType, LPARAM lpData);
void FillerCombo();
// Generated message map functions
protected:
CImageList m_imgArrow; //imagen arrow
CPoint mHeight;
GuiDrawLayer m_dw;
BOOL bColor;
protected:
//{{AFX_MSG(CGuiComboFont)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnPaint();
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
afx_msg void OnTimer(UINT nIDEvent);
//afx_msg void OnKillFocus(CWnd* pNewWnd);
afx_msg void OnCbnKillfocus();//version 7.0
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSetFocus(CWnd* pOldWnd);
afx_msg void OnSysColorChange( );
afx_msg void OnCloseup();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
afx_msg void OnCbnEditupdate();
};
|
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.