Click here to Skip to main content
15,927,344 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: NetMeeting SDK Pin
Michael P Butler23-Sep-01 22:20
Michael P Butler23-Sep-01 22:20 
Generalreading from netware directory Pin
Hong Wye Kean23-Sep-01 15:57
Hong Wye Kean23-Sep-01 15:57 
GeneralChris's Grid Control Doc/View Pin
Matt Newman23-Sep-01 15:53
Matt Newman23-Sep-01 15:53 
GeneralRe: Chris's Grid Control Doc/View Pin
Christian Graus23-Sep-01 16:12
protectorChristian Graus23-Sep-01 16:12 
GeneralRe: Chris's Grid Control Doc/View Pin
Matt Newman23-Sep-01 16:24
Matt Newman23-Sep-01 16:24 
GeneralRe: Chris's Grid Control Doc/View Pin
Christian Graus23-Sep-01 16:40
protectorChristian Graus23-Sep-01 16:40 
GeneralRe: Chris's Grid Control Doc/View Pin
Matt Newman24-Sep-01 14:25
Matt Newman24-Sep-01 14:25 
GeneralRe: Chris's Grid Control Doc/View Pin
Christian Graus24-Sep-01 15:05
protectorChristian Graus24-Sep-01 15:05 
I haven't done any serialisation for *ages* but I wold do something like this:

ar << m_pGrid->GetColumns()
ar << m_pGrid->GetRows()
for (int x = 0; x < m_pGrid->GetColumns(); ++x)
for (int y = 0; y < m_pGrid->GetRows(); ++y)
ar << m_pGrid->GetData(x,y);

I don't know if ANY of these functions exist or if I'm serialising properly, but you get the idea. You'd need to save the number of rows & columns first for when you read back in.


Christian

As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet.

Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
GeneralRe: Chris's Grid Control Doc/View Pin
Matt Newman24-Sep-01 15:46
Matt Newman24-Sep-01 15:46 
GeneralRe: Chris's Grid Control Doc/View Pin
Chris Maunder24-Sep-01 15:39
cofounderChris Maunder24-Sep-01 15:39 
GeneralRe: Chris's Grid Control Doc/View Pin
Matt Newman24-Sep-01 15:47
Matt Newman24-Sep-01 15:47 
GeneralCustom AppWizard Pin
23-Sep-01 14:53
suss23-Sep-01 14:53 
GeneralRe: Custom AppWizard Pin
abarbs20-Oct-04 2:39
abarbs20-Oct-04 2:39 
GeneralPosting to a form Pin
Christian Skovdal Andersen23-Sep-01 12:23
Christian Skovdal Andersen23-Sep-01 12:23 
GeneralGetting file status without using MFC !!! Pin
Hadi Rezaee23-Sep-01 10:55
Hadi Rezaee23-Sep-01 10:55 
GeneralRe: Getting file status without using MFC !!! Pin
Chris Losinger23-Sep-01 11:07
professionalChris Losinger23-Sep-01 11:07 
GeneralRe: Getting file status without using MFC !!! Pin
Hadi Rezaee23-Sep-01 19:23
Hadi Rezaee23-Sep-01 19:23 
GeneralRe: Getting file status without using MFC !!! Pin
Michael Dunn23-Sep-01 11:19
sitebuilderMichael Dunn23-Sep-01 11:19 
GeneralSetting a permanent size to a control Pin
23-Sep-01 9:30
suss23-Sep-01 9:30 
GeneralRe: Setting a permanent size to a control Pin
Joaquín M López Muñoz23-Sep-01 10:15
Joaquín M López Muñoz23-Sep-01 10:15 
GeneralRe: Setting a permanent size to a control Pin
23-Sep-01 11:08
suss23-Sep-01 11:08 
GeneralRe: Setting a permanent size to a control Pin
Michael Dunn23-Sep-01 11:22
sitebuilderMichael Dunn23-Sep-01 11:22 
GeneralRe: Setting a permanent size to a control Pin
23-Sep-01 11:35
suss23-Sep-01 11:35 
GeneralRe: Setting a permanent size to a control Pin
Joaquín M López Muñoz23-Sep-01 11:36
Joaquín M López Muñoz23-Sep-01 11:36 
GeneralRe: Setting a permanent size to a control Pin
23-Sep-01 12:41
suss23-Sep-01 12:41 

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.