Click here to Skip to main content
15,896,915 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: string.. Pin
Maxwell Chen16-May-06 20:40
Maxwell Chen16-May-06 20:40 
AnswerRe: string.. Pin
Christian Graus16-May-06 18:22
protectorChristian Graus16-May-06 18:22 
GeneralRe: string.. Pin
Prinz Ryoiji16-May-06 18:52
Prinz Ryoiji16-May-06 18:52 
Questionrecording mouse and keyboard events Pin
Chopper Dang16-May-06 17:29
Chopper Dang16-May-06 17:29 
AnswerRe: recording mouse and keyboard events Pin
Nibu babu thomas16-May-06 17:36
Nibu babu thomas16-May-06 17:36 
GeneralRe: recording mouse and keyboard events Pin
Chopper Dang16-May-06 17:43
Chopper Dang16-May-06 17:43 
GeneralRe: recording mouse and keyboard events Pin
Nibu babu thomas16-May-06 17:48
Nibu babu thomas16-May-06 17:48 
QuestionInputting a dialog resource into a CFormView Pin
DanYELL16-May-06 16:27
DanYELL16-May-06 16:27 
I have a CFormView (IDC_FORM_VIEW) and I have a CStatic resource
which I call m_boundingFrame.

I have a screen full of information in a dialog resource (IDC_CONTENT1).
How can I make that dialog resource appear in the boundingFrame of
the CFormView?

I can do this if its a propertysheet and then put in propertypages,
but I just have a single dialog resource which I want to display
in that boundingFrame. Im stumped on getting it to actually work.

My code for the propertysheet is below, but I cant figure out to
modify that code to work with the dialog resource that I have.

CWnd* pwndPropSheetHolder = GetDlgItem(IDC_PLACEHOLDER);
m_pPropertySheet = new CView10PropertySheet(pwndPropSheetHolder);
if (!m_pPropertySheet->Create(pwndPropSheetHolder, WS_CHILD | WS_VISIBLE, 0))
{
delete m_pPropertySheet;
m_pPropertySheet = NULL;
return;
}

// fit the property sheet into the place holder window, and show it
CRect rectPropSheet;
pwndPropSheetHolder->GetWindowRect(rectPropSheet);
m_pPropertySheet->SetWindowPos(NULL, 0, 0,
rectPropSheet.Width(), rectPropSheet.Height(),
SWP_NOZORDER | SWP_NOACTIVATE);

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

Sincerely,
Danielle Brina (an overworked graduate student)
AnswerRe: Inputting a dialog resource into a CFormView Pin
Nibu babu thomas16-May-06 17:39
Nibu babu thomas16-May-06 17:39 
QuestionPossible? to remotele command an IE window to load a page? Pin
Peter Weyzen16-May-06 14:08
Peter Weyzen16-May-06 14:08 
AnswerRe: Possible? to remotele command an IE window to load a page? Pin
Stephen Hewitt16-May-06 15:00
Stephen Hewitt16-May-06 15:00 
GeneralRe: Possible? to remotele command an IE window to load a page? Pin
Peter Weyzen16-May-06 17:30
Peter Weyzen16-May-06 17:30 
QuestionHow to register directshow filter? Pin
yongwpi16-May-06 10:16
yongwpi16-May-06 10:16 
QuestionCEdit SetSel and Scrolling Pin
Thomas Blenkers16-May-06 9:14
Thomas Blenkers16-May-06 9:14 
AnswerRe: CEdit SetSel and Scrolling Pin
Nibu babu thomas16-May-06 17:19
Nibu babu thomas16-May-06 17:19 
GeneralRe: CEdit SetSel and Scrolling Pin
Thomas Blenkers17-May-06 9:06
Thomas Blenkers17-May-06 9:06 
GeneralRe: CEdit SetSel and Scrolling Pin
Nibu babu thomas17-May-06 17:22
Nibu babu thomas17-May-06 17:22 
GeneralRe: CEdit SetSel and Scrolling Pin
Thomas Blenkers20-May-06 7:19
Thomas Blenkers20-May-06 7:19 
GeneralRe: CEdit SetSel and Scrolling Pin
Nibu babu thomas21-May-06 17:48
Nibu babu thomas21-May-06 17:48 
QuestionOLE Automation and MS Outlook. Pin
Chris Meech16-May-06 8:41
Chris Meech16-May-06 8:41 
AnswerRe: OLE Automation and MS Outlook. Pin
Steve Echols16-May-06 18:45
Steve Echols16-May-06 18:45 
GeneralRe: OLE Automation and MS Outlook. Pin
Chris Meech17-May-06 2:53
Chris Meech17-May-06 2:53 
GeneralRe: OLE Automation and MS Outlook. Pin
Chris Meech17-May-06 3:26
Chris Meech17-May-06 3:26 
QuestionNeed Help with CMainFrame and VS 7.0 Pin
Jethro6316-May-06 8:15
Jethro6316-May-06 8:15 
AnswerRe: Need Help with CMainFrame and VS 7.0 Pin
led mike16-May-06 8:50
led mike16-May-06 8:50 

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.