#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__)