⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 codefinisherlistbox.h

📁 用bcg库编写的java IDE 源码
💻 H
字号:
// CodeFinisherListBox.h: interface for the CCodeFinisherListBox class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CODEFINISHERLISTBOX_H__D80D54B2_AAAA_4624_8D8F_F27424C24A12__INCLUDED_)
#define AFX_CODEFINISHERLISTBOX_H__D80D54B2_AAAA_4624_8D8F_F27424C24A12__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "ListBoxST.h"
#include "Popup.h"



class CCodeFinisherListBox : public CListBoxST  
{
    int       m_xMax;
    int       m_yMax;
public:
	CCodeFinisherListBox();
	virtual ~CCodeFinisherListBox();
    void AddItem(CString strItem,UINT nType,UINT nMod = -1);

    bool      m_bEnableLastAction;
class XPopupCtrlEvent : public IPopupCtrlEvent
    {
    public:
        virtual bool OnInit ();
        virtual void OnShow ();
        virtual void OnHide (bool bAbort);
        virtual int OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags);
        virtual int OnLButtonDown (UINT nFlags, CPoint point);
		virtual int OnLButtonDblClk(UINT nFlags,CPoint point);
        virtual int OnLButtonUp (UINT nFlags, CPoint point);
        virtual IPopupCtrlEvent* GetInterfaceOf (HWND hWnd);
        void InsertText();
    } m_xPopupCtrlEvent;

	void ReCalcSize(CRect& rcSize);
    void Reset();
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);

	afx_msg void OnNcPaint();

   DECLARE_MESSAGE_MAP()
};

#endif // !defined(AFX_CODEFINISHERLISTBOX_H__D80D54B2_AAAA_4624_8D8F_F27424C24A12__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -