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

📄 ngdlgcontrols.h

📁 ResOrg 图形化管理Vc项目的资源ID的工具的源代码。 ResOrg - Manage and Renumber Resource Symbol IDs Introduction The
💻 H
字号:
#if !defined(__DLGCONTROLS_H__)
#define __DLGCONTROLS_H__

// DlgControls.h : header file
//

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

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

//////////////////////////////////////////////////////////////////////
// Combo Box manipulation/interface functions
//

		//////////////////////////////////////////////////////////////////////
		// Replace a string within a combo box
		//
		
	NGLIB_EXT_API		CComboBox*				ReplaceComboBoxString(
																CWnd* pWnd,
																LPCTSTR pszTarget,
																LPCTSTR pszReplacement);


		//////////////////////////////////////////////////////////////////////
		// Reload the contents and selection of a combo box
		//
	NGLIB_EXT_API		CComboBox*				FillComboBox(	CWnd* pWnd,
																const CStringList& listChoices,
																LPCTSTR pszSelection);

	NGLIB_EXT_API		CComboBox*				FillComboBox(	CWnd* pWnd,
																const CStringList& listChoices,
																int nSelection);

	NGLIB_EXT_API		CComboBox*				FillComboBox(	CWnd* pWnd,
																const CStringArray& arrayChoices,
																LPCTSTR pszSelection);

	NGLIB_EXT_API		CComboBox*				FillComboBox(	CWnd* pWnd,
																const CStringArray& arrayChoices,
																int nSelection);

	NGLIB_EXT_API		CComboBox*				FillComboBox(	CWnd* pWnd,
																LPCTSTR pszChoices,
																LPCTSTR pszSelection,
																LPCTSTR pszDelimiter = _T("\t"));

	NGLIB_EXT_API		CComboBox*				FillComboBox(	CWnd* pWnd,
																LPCTSTR pszChoices,
																int nSelection,
																LPCTSTR pszDelimiter = _T("\t"));

	NGLIB_EXT_API		CComboBox*				FillComboBox(	CWnd* pWnd,
																int nChoiceID,
																LPCTSTR pszSelection,
																LPCTSTR pszDelimiter = _T("\t"));
	
	NGLIB_EXT_API		CComboBox*				FillComboBox(	CWnd* pWnd,
																int nChoiceID,
																int nSelection,
																LPCTSTR pszDelimiter = _T("\t"));


//////////////////////////////////////////////////////////////////////
// List Box manipulation/interface functions
//

		//////////////////////////////////////////////////////////////////////
		// Replace a string within a List box
		//
	NGLIB_EXT_API		CListBox*				ReplaceListBoxString(
																CWnd* pWnd,
																LPCTSTR pszTarget,
																LPCTSTR pszReplacement);


		//////////////////////////////////////////////////////////////////////
		// Reload the contents and selection of a List box
		//
	NGLIB_EXT_API		CListBox*				FillListBox(	CWnd* pWnd,
																const CStringList& listChoices,
																LPCTSTR pszSelection);

	NGLIB_EXT_API		CListBox*				FillListBox(	CWnd* pWnd,
																const CStringList& listChoices,
																int nSelection);

	NGLIB_EXT_API		CListBox*				FillListBox(	CWnd* pWnd,
																const CStringArray& arrayChoices,
																LPCTSTR pszSelection);

	NGLIB_EXT_API		CListBox*				FillListBox(	CWnd* pWnd,
																const CStringArray& arrayChoices,
																int nSelection);

	NGLIB_EXT_API		CListBox*				FillListBox(	CWnd* pWnd,
																LPCTSTR pszChoices,
																LPCTSTR pszSelection,
																LPCTSTR pszDelimiter = _T("\t"));

	NGLIB_EXT_API		CListBox*				FillListBox(	CWnd* pWnd,
																LPCTSTR pszChoices,
																int nSelection,
																LPCTSTR pszDelimiter = _T("\t"));

	NGLIB_EXT_API		CListBox*				FillListBox(	CWnd* pWnd,
																int nChoiceID,
																LPCTSTR pszSelection,
																LPCTSTR pszDelimiter = _T("\t"));

	NGLIB_EXT_API		CListBox*				FillListBox(	CWnd* pWnd,
																int nChoiceID,
																int nSelection,
																LPCTSTR pszDelimiter = _T("\t"));

//////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(__DLGCONTROLS_H__)

⌨️ 快捷键说明

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