Click here to Skip to main content
16,011,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFile Pin
macmac388-May-03 0:36
macmac388-May-03 0:36 
GeneralRe: CFile Pin
Neville Franks8-May-03 1:56
Neville Franks8-May-03 1:56 
GeneralRe: CFile Pin
Hari Krishnan (Noida)8-May-03 0:46
Hari Krishnan (Noida)8-May-03 0:46 
GeneralCarray doubt Pin
doctorpi7-May-03 22:38
doctorpi7-May-03 22:38 
GeneralRe: Carray doubt Pin
Dr-Kuulun7-May-03 22:54
Dr-Kuulun7-May-03 22:54 
GeneralRe: Carray doubt Pin
Cedric Moonen7-May-03 22:57
Cedric Moonen7-May-03 22:57 
GeneralRe: Carray doubt Pin
jhwurmbach7-May-03 23:15
jhwurmbach7-May-03 23:15 
GeneralRe: Carray doubt Pin
David Crow8-May-03 3:29
David Crow8-May-03 3:29 
I have something similar in one of my projects.

class CMyDoc : public CDocument
{
public:
void GetAddressList( CDWordArray *pAddresses );

private:
CDWordArray m_arrAddresses;
};

void CMyDoc::GetAddressList( CDWordArray *pAddresses )
{
pAddresses->RemoveAll();

pAddresses->Append(m_arrAddresses);
}

void CMyView::OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint)
{
CMyDoc *pDoc;
CDWordArray arrAddresses;

pDoc = GetDocument();
pDoc->GetAddressList(&arrAddresses);
}

Hope this helps, or at least gives you an idea.
GeneralRefresh problem... Pin
Neha7-May-03 22:24
Neha7-May-03 22:24 
GeneralRe: Refresh problem... Pin
Ernest Laurentin8-May-03 3:59
Ernest Laurentin8-May-03 3:59 
GeneralBitmap processing Pin
sooyewguan7-May-03 21:33
sooyewguan7-May-03 21:33 
GeneralRe: Bitmap processing Pin
Chris Losinger8-May-03 3:07
professionalChris Losinger8-May-03 3:07 
Generalsmall ques about handles Pin
r i s h a b h s7-May-03 18:19
r i s h a b h s7-May-03 18:19 
GeneralRe: small ques about handles Pin
_crs_7-May-03 19:51
_crs_7-May-03 19:51 
GeneralRe: small ques about handles Pin
r i s h a b h s7-May-03 21:36
r i s h a b h s7-May-03 21:36 
GeneralRe: small ques about handles Pin
David Crow8-May-03 3:33
David Crow8-May-03 3:33 
GeneralRe: small ques about handles Pin
_crs_8-May-03 6:13
_crs_8-May-03 6:13 
Generalabout edit vertical center Pin
Anonymous7-May-03 18:18
Anonymous7-May-03 18:18 
GeneralRe: about edit vertical center Pin
jhaga7-May-03 23:31
professionaljhaga7-May-03 23:31 
GeneralHelp me Pin
trunghp7-May-03 18:17
trunghp7-May-03 18:17 
GeneralRe: Help me Pin
jhaga7-May-03 23:27
professionaljhaga7-May-03 23:27 
GeneralRe: Help me Pin
JensB8-May-03 0:08
JensB8-May-03 0:08 
Generalsmall problems with runtime controls Pin
r i s h a b h s7-May-03 18:15
r i s h a b h s7-May-03 18:15 
GeneralRe: small problems with runtime controls Pin
r i s h a b h s7-May-03 19:52
r i s h a b h s7-May-03 19:52 
GeneralRe: small problems with runtime controls Pin
Anonymous7-May-03 22:03
Anonymous7-May-03 22:03 

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.