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

C / C++ / MFC

 
GeneralThank u very much!! Pin
Anonymous17-Mar-04 2:39
Anonymous17-Mar-04 2:39 
AnswerRe: How to use CheckMenuItem()???????? Pin
Maximilien17-Mar-04 2:33
Maximilien17-Mar-04 2:33 
Generalcin >> question Pin
ns17-Mar-04 1:16
ns17-Mar-04 1:16 
GeneralRe: cin >> question Pin
David Crow17-Mar-04 2:27
David Crow17-Mar-04 2:27 
GeneralRe: cin >> question Pin
Anonymous17-Mar-04 22:11
Anonymous17-Mar-04 22:11 
GeneralRe: cin >> question Pin
David Crow19-Mar-04 3:25
David Crow19-Mar-04 3:25 
GeneralProperty sheets and pages Pin
Anonymous17-Mar-04 0:56
Anonymous17-Mar-04 0:56 
GeneralRe: Property sheets and pages Pin
Nirav Doshi17-Mar-04 1:28
Nirav Doshi17-Mar-04 1:28 
Anonymous wrote:
Can my pages access the sheet in any way?

* Try:
CMySheet	*pSheet  = ((CMySheet *) GetParent());

-OR-
CMySheet	*pSheet  = ((CMySheet *) GetOwner());


* And for your dialog in which you have the sheet, you can have:
CMyDialog	*pDialog = ((CMyDialog *) GetParentOwner());


The reason I have answered the second one is if you want to access your sheet through your dialog, as pDialog->pMySheet, this could help!

- Nirav

* Don't wish it was easier, wish you were better! *
GeneralRe: Property sheets and pages Pin
thowra17-Mar-04 1:52
thowra17-Mar-04 1:52 
GeneralDetecting if a print job failed Pin
tcss16-Mar-04 23:58
tcss16-Mar-04 23:58 
GeneralRe: Detecting if a print job failed Pin
Blake Miller17-Mar-04 7:45
Blake Miller17-Mar-04 7:45 
GeneralRe: Detecting if a print job failed Pin
tcss17-Mar-04 20:20
tcss17-Mar-04 20:20 
GeneralGDI+ and bitmap resources Pin
bouli16-Mar-04 23:10
bouli16-Mar-04 23:10 
GeneralRe: GDI+ and bitmap resources Pin
Anonymous16-Mar-04 23:31
Anonymous16-Mar-04 23:31 
GeneralRe: GDI+ and bitmap resources Pin
bouli17-Mar-04 0:34
bouli17-Mar-04 0:34 
GeneralRe: GDI+ and bitmap resources Pin
wb17-Mar-04 1:03
wb17-Mar-04 1:03 
GeneralRe: GDI+ and bitmap resources Pin
bouli17-Mar-04 5:01
bouli17-Mar-04 5:01 
GeneralInstalling .NET Pin
Anonymous16-Mar-04 22:33
Anonymous16-Mar-04 22:33 
GeneralRe: Installing .NET Pin
Prakash Nadar16-Mar-04 23:08
Prakash Nadar16-Mar-04 23:08 
GeneralRe: Installing .NET Pin
Anonymous16-Mar-04 23:12
Anonymous16-Mar-04 23:12 
GeneralRe: Installing .NET Pin
Prakash Nadar16-Mar-04 23:36
Prakash Nadar16-Mar-04 23:36 
GeneralRe: Installing .NET Pin
Anonymous17-Mar-04 0:03
Anonymous17-Mar-04 0:03 
GeneralRe: Installing .NET Pin
Chris Meech17-Mar-04 4:43
Chris Meech17-Mar-04 4:43 
GeneralRe: Installing .NET Pin
Anonymous17-Mar-04 15:17
Anonymous17-Mar-04 15:17 
QuestionCan I keep a DDB for painting? Pin
living16-Mar-04 21:29
living16-Mar-04 21:29 

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.