Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

The Ultimate Toolbox - Updates and User Contributions

, 12 Feb 2013 CPOL
Updates and User Contributions for the Ultimate Toolbox Libraries
OutlookDemoUpdate.zip
Ultimate Grid
Demos
OutlookStyle
OutlookStyle.aps
OutlookStyle.dsp
OutlookStyle.dsw
OutlookStyle.suo
res
bitmap1.bmp
bmattach.bmp
bmp00001.bmp
bmp00002.bmp
bmp00003.bmp
Flags.bmp
OutlookStyle.ico
OutlookStyleDoc.ico
Toolbar.bmp
toolbar1.bmp
toolbar2.bmp
toolbarf.bmp
UltimateGrid72_Src_Update01.zip
CellTypes
Include
Source
UltimateGrid72_Src_Update02.zip
DataSources
ODBC
OleDB
EditControls
UltimateGrid72_Src_Update03.zip
UltimateGrid72_Src_Update04.zip
UltimateGrid73_src.zip
BuildDLL
Build DLL.dsp
Build DLL.dsw
res
BuildLib
ugmfclib.dsp
ugmfclib.dsw
Lib
Skel
UltimateTCP-IP42_Src_Update01.zip
Ultimate TCP-IP
Include
Security
Include
Source
source
UltimateTCP-IP42_Src_Update02.zip
Examples
Client
Mail
icon1.ico
icon2.ico
MailClientS.suo
test.dsp
test.dsw
UltimateTCP-IP42_Src_Update03.zip
ultimatetoolbox93_src_update01.zip
Ultimate Toolbox
include
source
UltimateToolbox93_Src_Update02.zip
lib
Build DLLs
Build Libs
UltimateToolbox93_Src_Update03.zip
UltimateToolbox93_Src_Update04.zip
UltimateToolbox93_Src_Update05.zip
#if !defined(AFX_OXLISTEDIT_H__28D7469D_27EB_4B0A_A426_31C2A795DCDB__INCLUDED_)
#define AFX_OXLISTEDIT_H__28D7469D_27EB_4B0A_A426_31C2A795DCDB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OXListEdit.h : header file
//

#include "OXDllExt.h"
#include "OXDropEdit.h"
#include "OXEdit.h"

#pragma warning(disable : 4706)

// v9.3 - update 05 - shouldn't need to include this for VS2010 - problematic for static MFC linkage (?)
#if _MSC_VER < 1600
#include <multimon.h>
#endif

class OX_CLASS_DECL COXListPopup : public CListBox
{
// Construction
public:
	COXListPopup();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COXListPopup)
	public:
	//}}AFX_VIRTUAL

// Implementation
public:
	int Pick(CRect rect, CRect rectParent);
	virtual ~COXListPopup();

	// Generated message map functions
protected:
	//{{AFX_MSG(COXListPopup)
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()

private:
	void AdjustDisplayRectangle(CRect& rect, CRect rectParent);
};

/////////////////////////////////////////////////////////////////////////////
// COXListEdit window

class COXPropertiesWnd;

class OX_CLASS_DECL COXListEdit : public COXDropEdit<COXEdit>
{
	friend class COXListPopup;

// Construction
public:
	COXListEdit();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COXListEdit)
	//}}AFX_VIRTUAL

// Implementation
public:
	void SetListItems(CStringArray* parItems, COXPropertiesWnd* pPropertiesWnd);
	virtual ~COXListEdit();

	// Generated message map functions
protected:
	virtual BOOL InitializeDropEdit();
	virtual void OnDropButton();
	DECLARE_DYNCREATE(COXListEdit)
	
		//{{AFX_MSG(COXListEdit)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	CFont m_font;
	COXListPopup m_DropList;
	COXPropertiesWnd* m_pPropertiesWnd;
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_OXLISTEDIT_H__28D7469D_27EB_4B0A_A426_31C2A795DCDB__INCLUDED_)

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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

The Ultimate Toolbox
Web Developer
Canada Canada
In January 2005, David Cunningham and Chris Maunder created TheUltimateToolbox.com, a new group dedicated to the continued development, support and growth of Dundas Software’s award winning line of MFC, C++ and ActiveX control products.
 
Ultimate Grid for MFC, Ultimate Toolbox for MFC, and Ultimate TCP/IP have been stalwarts of C++/MFC development for a decade. Thousands of developers have used these products to speed their time to market, improve the quality of their finished products, and enhance the reliability and flexibility of their software.
Group type: Organisation

399 members


| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150327.1 | Last Updated 13 Feb 2013
Article Copyright 2008 by The Ultimate Toolbox
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid