Click here to Skip to main content
15,902,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to redirect STDOUT to a file? Pin
Stephane Routelous26-Aug-02 6:11
Stephane Routelous26-Aug-02 6:11 
GeneralMaking dialog like Windows Media Player skins !!! Pin
Hadi Rezaee26-Aug-02 5:50
Hadi Rezaee26-Aug-02 5:50 
GeneralRe: Making dialog like Windows Media Player skins !!! Pin
Chris Losinger26-Aug-02 6:01
professionalChris Losinger26-Aug-02 6:01 
GeneralRe: Making dialog like Windows Media Player skins !!! Pin
Hadi Rezaee27-Aug-02 7:47
Hadi Rezaee27-Aug-02 7:47 
Generalfind string in another string Pin
Mazdak26-Aug-02 5:42
Mazdak26-Aug-02 5:42 
GeneralRe: find string in another string Pin
Tomasz Sowinski26-Aug-02 5:45
Tomasz Sowinski26-Aug-02 5:45 
GeneralRe: find string in another string Pin
Mazdak26-Aug-02 6:58
Mazdak26-Aug-02 6:58 
GeneralData Management Pin
Kash26-Aug-02 5:38
Kash26-Aug-02 5:38 
Hi, I have created an MDI using CFormView. I have 2 forms. CMyProjView is the 1st form containing user inputs. The second form is activated using a button handler.

How to access data stored in CMyProjDoc from the second form?

I tried this in OnInitialUpdate() of CForm2

CMyProjDoc * pDoc = (CMyProjDoc*) GetDocument();
m_Variable = pDoc->data[i];
m_EditBox.Format("%.2f",m_Variable);

but I get an Assertion failure.

Any suggestions?

Thanks
GeneralRe: Data Management Pin
Tomasz Sowinski26-Aug-02 5:47
Tomasz Sowinski26-Aug-02 5:47 
GeneralRe: Data Management Pin
Kash26-Aug-02 5:53
Kash26-Aug-02 5:53 
GeneralRe: Data Management Pin
Tomasz Sowinski26-Aug-02 5:56
Tomasz Sowinski26-Aug-02 5:56 
QuestionWhat is "Window Station" Pin
Johndotcom26-Aug-02 4:48
Johndotcom26-Aug-02 4:48 
AnswerRe: What is "Window Station" Pin
Tomasz Sowinski26-Aug-02 4:57
Tomasz Sowinski26-Aug-02 4:57 
AnswerRe: What is "Window Station" Pin
Stephane Rodriguez.26-Aug-02 5:50
Stephane Rodriguez.26-Aug-02 5:50 
GeneralRe: What is "Window Station" Pin
Tomasz Sowinski26-Aug-02 5:52
Tomasz Sowinski26-Aug-02 5:52 
GeneralRe: What is "Window Station" Pin
Stephane Rodriguez.26-Aug-02 19:32
Stephane Rodriguez.26-Aug-02 19:32 
GeneralCreateFileMapping Pin
Mazdak26-Aug-02 4:48
Mazdak26-Aug-02 4:48 
GeneralRe: CreateFileMapping Pin
Tomasz Sowinski26-Aug-02 5:00
Tomasz Sowinski26-Aug-02 5:00 
GeneralRe: CreateFileMapping Pin
Mazdak26-Aug-02 5:13
Mazdak26-Aug-02 5:13 
GeneralElegant file use Pin
solosnake26-Aug-02 4:00
solosnake26-Aug-02 4:00 
GeneralRe: Elegant file use Pin
Pavel Klocek26-Aug-02 4:36
Pavel Klocek26-Aug-02 4:36 
GeneralRe: Elegant file use Pin
Tomasz Sowinski26-Aug-02 4:38
Tomasz Sowinski26-Aug-02 4:38 
GeneralRe: Elegant file use Pin
Pavel Klocek26-Aug-02 10:11
Pavel Klocek26-Aug-02 10:11 
GeneralRe: Elegant file use Pin
solosnake26-Aug-02 4:57
solosnake26-Aug-02 4:57 
GeneralRe: Elegant file use Pin
Brian Azzopardi26-Aug-02 4:59
Brian Azzopardi26-Aug-02 4:59 

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.