Click here to Skip to main content
15,910,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListCtrl and WM_LBUTTONUP Pin
Taka Muraoka17-Dec-02 14:59
Taka Muraoka17-Dec-02 14:59 
GeneralStoopid funcptr question Pin
Klaus Probst17-Dec-02 11:28
Klaus Probst17-Dec-02 11:28 
GeneralRe: Stoopid funcptr question Pin
Taka Muraoka17-Dec-02 11:50
Taka Muraoka17-Dec-02 11:50 
GeneralRe: Stoopid funcptr question Pin
Michael Dunn17-Dec-02 16:01
sitebuilderMichael Dunn17-Dec-02 16:01 
GeneralRe: Stoopid funcptr question Pin
Klaus Probst17-Dec-02 18:08
Klaus Probst17-Dec-02 18:08 
GeneralRe: Stoopid funcptr question Pin
Taka Muraoka17-Dec-02 18:14
Taka Muraoka17-Dec-02 18:14 
GeneralMDI Question.... Pin
Ryan B.17-Dec-02 10:33
Ryan B.17-Dec-02 10:33 
GeneralRe: MDI Question.... Pin
Gary Kirkham17-Dec-02 11:04
Gary Kirkham17-Dec-02 11:04 
If there is only one workspace doc then you could do this

POSITION pos = ((CYourApp*)AfxGetApp())->m_pDocTemplate->GetFirstDocPosition();

CYourDoc *pDoc = (CYourDoc*) ((CYourApp*)AfxGetApp())->m_pDocTemplate->GetNextDoc(pos);

where m_pDocTemplate is your workspace template...make it public or add a public function to get a pointer to it

Gary Kirkham

A working Program is one that has only unobserved bugs
GeneralShellExecute Question. (urgent) Pin
RickGavin17-Dec-02 10:12
RickGavin17-Dec-02 10:12 
GeneralRe: ShellExecute Question. (urgent) Pin
Nish Nishant17-Dec-02 14:13
sitebuilderNish Nishant17-Dec-02 14:13 
GeneralRe: ShellExecute Question. (urgent) Pin
Michael Dunn17-Dec-02 16:04
sitebuilderMichael Dunn17-Dec-02 16:04 
GeneralRe: ShellExecute Question. (urgent) Pin
RickGavin17-Dec-02 18:24
RickGavin17-Dec-02 18:24 
GeneralDumb OnSaveDocument question.. Pin
RobJones17-Dec-02 9:30
RobJones17-Dec-02 9:30 
GeneralRe: Dumb OnSaveDocument question.. Pin
lucy17-Dec-02 9:44
lucy17-Dec-02 9:44 
GeneralRe: Dumb OnSaveDocument question.. Pin
RobJones17-Dec-02 9:46
RobJones17-Dec-02 9:46 
GeneralRe: Dumb OnSaveDocument question.. Pin
lucy17-Dec-02 9:53
lucy17-Dec-02 9:53 
GeneralRe: Dumb OnSaveDocument question.. Pin
RobJones17-Dec-02 10:03
RobJones17-Dec-02 10:03 
GeneralRe: Dumb OnSaveDocument question.. Pin
RobJones17-Dec-02 10:09
RobJones17-Dec-02 10:09 
Questionhow to derive a CArray method Pin
lucy17-Dec-02 8:26
lucy17-Dec-02 8:26 
AnswerRe: how to derive a CArray method Pin
Christian Graus17-Dec-02 8:39
protectorChristian Graus17-Dec-02 8:39 
GeneralRe: how to derive a CArray method Pin
lucy17-Dec-02 8:44
lucy17-Dec-02 8:44 
GeneralRe: how to derive a CArray method Pin
Christian Graus17-Dec-02 8:51
protectorChristian Graus17-Dec-02 8:51 
GeneralRe: how to derive a CArray method Pin
Tim Smith17-Dec-02 9:37
Tim Smith17-Dec-02 9:37 
GeneralRe: how to derive a CArray method Pin
lucy17-Dec-02 9:47
lucy17-Dec-02 9:47 
GeneralRe: how to derive a CArray method Pin
Christian Graus17-Dec-02 10:06
protectorChristian Graus17-Dec-02 10:06 

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.