Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Updating a CDocument from other objects. Pin
Budric B.16-Sep-04 7:39
Budric B.16-Sep-04 7:39 
GeneralRe: Updating a CDocument from other objects. Pin
David Crow16-Sep-04 7:44
David Crow16-Sep-04 7:44 
GeneralRe: to which window Pin
Budric B.16-Sep-04 8:32
Budric B.16-Sep-04 8:32 
GeneralRe: to which window Pin
David Crow16-Sep-04 8:55
David Crow16-Sep-04 8:55 
GeneralThank you (nt) Pin
Budric B.16-Sep-04 9:13
Budric B.16-Sep-04 9:13 
GeneralRe: Oh and another silly question Pin
Budric B.16-Sep-04 6:53
Budric B.16-Sep-04 6:53 
GeneralRe: Oh and another silly question Pin
David Crow16-Sep-04 7:04
David Crow16-Sep-04 7:04 
GeneralSerialize Pin
TUMB16-Sep-04 5:02
TUMB16-Sep-04 5:02 
I am trying to write a whole lot of data into a file using serialize. When I use CString It is writing anempty string. ANy help would be appreciated. Following is the Code.

if(ar.IsStoring())
{
ar << (COLORREF) m_clrMapColor;
ar << (int) m_nMapNo;
ar << (CString)m_strName;
int ShapeListCount = m_ShapeList.GetCount();
ar << (int)ShapeListCount;

POSITION pos = m_ShapeList.GetHeadPosition();

for (int j = 0; j < m_ShapeList.GetCount(); j++)
{
CShape* shape = (CShape*)m_ShapeList.GetNext(pos);

shape->Serialize(ar);
}
endfor
}
endif
GeneralRe: Serialize Pin
David Crow16-Sep-04 5:21
David Crow16-Sep-04 5:21 
GeneralRe: Serialize Pin
TUMB16-Sep-04 5:25
TUMB16-Sep-04 5:25 
GeneralRe: Serialize Pin
TUMB16-Sep-04 5:28
TUMB16-Sep-04 5:28 
GeneralRe: Serialize Pin
TUMB16-Sep-04 5:34
TUMB16-Sep-04 5:34 
GeneralRe: Serialize Pin
David Crow16-Sep-04 5:46
David Crow16-Sep-04 5:46 
GeneralRe: Serialize Pin
David Crow16-Sep-04 5:43
David Crow16-Sep-04 5:43 
GeneralRe: Serialize Pin
TUMB17-Sep-04 3:40
TUMB17-Sep-04 3:40 
GeneralRe: Serialize Pin
David Crow17-Sep-04 5:49
David Crow17-Sep-04 5:49 
GeneralRe: Serialize Pin
TUMB17-Sep-04 6:16
TUMB17-Sep-04 6:16 
GeneralRe: Serialize Pin
David Crow17-Sep-04 7:59
David Crow17-Sep-04 7:59 
GeneralRe: Serialize Pin
Ryan Binns16-Sep-04 18:27
Ryan Binns16-Sep-04 18:27 
GeneralRe: Serialize Pin
TUMB17-Sep-04 1:53
TUMB17-Sep-04 1:53 
GeneralProgrammatically modifying an HTML document from visual C++ Pin
Freeman Taylor16-Sep-04 4:11
Freeman Taylor16-Sep-04 4:11 
GeneralRe: Programmatically modifying an HTML document from visual C++ Pin
David Crow16-Sep-04 5:07
David Crow16-Sep-04 5:07 
GeneralRe: Programmatically modifying an HTML document from visual C++ Pin
Freeman Taylor16-Sep-04 6:18
Freeman Taylor16-Sep-04 6:18 
GeneralRe: Programmatically modifying an HTML document from visual C++ Pin
Neville Franks16-Sep-04 10:33
Neville Franks16-Sep-04 10:33 
Generalfonts changing without me asking them to Pin
BlackDice16-Sep-04 3:57
BlackDice16-Sep-04 3:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.