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

C / C++ / MFC

 
GeneralRe: compile errors Pin
Hamid_RT30-Jul-06 3:10
Hamid_RT30-Jul-06 3:10 
Questionhow do I save a bitmap to hard-disk? Pin
Ștefan-Mihai MOGA28-Jul-06 13:48
professionalȘtefan-Mihai MOGA28-Jul-06 13:48 
AnswerRe: how do I save a bitmap to hard-disk? Pin
valikac28-Jul-06 15:22
valikac28-Jul-06 15:22 
AnswerRe: how do I save a bitmap to hard-disk? Pin
Chris Losinger28-Jul-06 19:10
professionalChris Losinger28-Jul-06 19:10 
AnswerRe: how do I save a bitmap to hard-disk? Pin
Hamid_RT28-Jul-06 21:45
Hamid_RT28-Jul-06 21:45 
QuestionHow to create a directory? [modified] Pin
10011000100101101000028-Jul-06 11:12
10011000100101101000028-Jul-06 11:12 
AnswerRe: How to create a directory? Pin
Gary R. Wheeler28-Jul-06 15:32
Gary R. Wheeler28-Jul-06 15:32 
QuestionGet a pointer to a property page? Pin
DanYELL28-Jul-06 10:25
DanYELL28-Jul-06 10:25 
Im in any of the functions in the Doc.cpp file.

I can use this code:

<br />
CFrameWnd	*pWndMain = (CFrameWnd *)AfxGetMainWnd();<br />
ASSERT(pWndMain != NULL);<br />
<br />
CDocument *pDoc = pWndMain->GetActiveDocument();<br />
ASSERT(pDoc);<br />
	<br />
POSITION pos = pDoc->GetFirstViewPosition();<br />
CView *pView = NULL;<br />
<br />
while (pView = pDoc->GetNextView(pos))<br />
{<br />


to get a pointer to a CFormView or CDialog that I might have. The
CView *pView pointer lets me access individual items in that CFormView.

If my CFormView has a property sheet with a few property pages, how can
I get a pointer to these property sheets from CDoc? I have:

CView1PropertySheet* m_pView1PropertySheet;

under my CFormView, but I cant see it and cant access it using the
pView pointer that I created this way.

Im stumped.

Please, any response any one can give me will be greatly appreciated.

Sincerely,
Danielle Brina
AnswerRe: Get a pointer to a property page? Pin
Zac Howland28-Jul-06 10:35
Zac Howland28-Jul-06 10:35 
QuestionHow to Extract Single Image (Frame) from a CImageList ?? Pin
MacGadger28-Jul-06 9:23
MacGadger28-Jul-06 9:23 
AnswerRe: How to Extract Single Image (Frame) from a CImageList ?? Pin
Hamid_RT28-Jul-06 22:41
Hamid_RT28-Jul-06 22:41 
QuestionSetup projects can't find MsiLoadr.Bin file Pin
Roj28-Jul-06 9:15
Roj28-Jul-06 9:15 
AnswerRe: Setup projects can't find MsiLoadr.Bin file Pin
Gary R. Wheeler28-Jul-06 15:55
Gary R. Wheeler28-Jul-06 15:55 
Questionplugin development for pocket WMP Pin
Mohammad A Gdeisat28-Jul-06 7:47
Mohammad A Gdeisat28-Jul-06 7:47 
QuestionMemory allocation problem?? Pin
pavanbabut28-Jul-06 7:30
pavanbabut28-Jul-06 7:30 
AnswerRe: Memory allocation problem?? Pin
Zac Howland28-Jul-06 7:51
Zac Howland28-Jul-06 7:51 
GeneralRe: Memory allocation problem?? Pin
pavanbabut28-Jul-06 8:51
pavanbabut28-Jul-06 8:51 
GeneralRe: Memory allocation problem?? Pin
Zac Howland28-Jul-06 9:16
Zac Howland28-Jul-06 9:16 
GeneralRe: Memory allocation problem?? Pin
pavanbabut28-Jul-06 9:32
pavanbabut28-Jul-06 9:32 
GeneralRe: Memory allocation problem?? Pin
Zac Howland28-Jul-06 9:46
Zac Howland28-Jul-06 9:46 
GeneralRe: Memory allocation problem?? Pin
pavanbabut1-Aug-06 5:32
pavanbabut1-Aug-06 5:32 
GeneralRe: Memory allocation problem?? Pin
Blake Miller1-Aug-06 12:44
Blake Miller1-Aug-06 12:44 
GeneralRe: Memory allocation problem?? Pin
pavanbabut2-Aug-06 9:40
pavanbabut2-Aug-06 9:40 
GeneralRe: Memory allocation problem?? Pin
Blake Miller2-Aug-06 10:29
Blake Miller2-Aug-06 10:29 
GeneralRe: Memory allocation problem?? Pin
pavanbabut2-Aug-06 13:48
pavanbabut2-Aug-06 13:48 

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.