//  Beta release only.
//
//  Copyright(c) Ivyware Pty Ltd 2006  (all rights reserved)
//               MELBOURNE, VICTORIA, AUSTRALIA, 3130
//
//  Provided no fee is charged (either by the distributer or user)
//  permission to use, copy, modify, and distribute this software and
//  its documentation for any purpose and without fee is hereby granted,
//  provided that the above copyright notice appear in all copies and
//  that both that copyright notice and this permission notice appear
//  in supporting documentation.
//
//  No waranty or suitablity for purpose is implied.
//
//
//  CComboBox extension prototypes and definitions
//

#pragma   once
#include "P2PmsgMFC.h"
#include "P2Pmsg.h"

//
//  CComboBox helpers
//  NOTES: Static functions are just simpler
P2PmsgMFC_EXT CString
CComboBox_GetCurSelText ( CComboBox& oCComboBox );
P2PmsgMFC_EXT DWORD_PTR
CComboBox_GetCurSelData ( CComboBox& oCComboBox );
P2PmsgMFC_EXT int
CComboBox_InsertStringData ( CComboBox& oCComboBox, LPCTSTR lpszString, DWORD_PTR dwItemData );

//
//  CComboBox serialisation 
P2PmsgMFC_EXT int
CComboBox_Serialise ( CComboBox& oCComboBox, P3PmsgNode& oNodeCombo );
P2PmsgMFC_EXT int
CComboBox_Deserialise ( CComboBox& oCComboBox, P3PmsgNode& oNodeCombo );
