Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMove button at runtime Pin
masnu26-Jan-06 9:34
masnu26-Jan-06 9:34 
AnswerRe: Move button at runtime Pin
David Crow26-Jan-06 9:58
David Crow26-Jan-06 9:58 
GeneralRe: Move button at runtime Pin
masnu26-Jan-06 10:07
masnu26-Jan-06 10:07 
AnswerRe: Move button at runtime Pin
MANISH RASTOGI26-Jan-06 17:27
MANISH RASTOGI26-Jan-06 17:27 
AnswerRe: Move button at runtime Pin
Michael Dunn26-Jan-06 20:37
sitebuilderMichael Dunn26-Jan-06 20:37 
AnswerRe: Move button at runtime Pin
toxcct26-Jan-06 21:59
toxcct26-Jan-06 21:59 
GeneralRe: Move button at runtime Pin
Owner drawn26-Jan-06 23:35
Owner drawn26-Jan-06 23:35 
Questionchild frame fills main frame? Pin
LeeeNN26-Jan-06 7:52
LeeeNN26-Jan-06 7:52 
In MDI project. I want my child frame fill main frame window. So I inplement this in

BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying the CREATESTRUCT cs
CWnd* pwnd = AfxGetMainWnd();
CRect rect;
pwnd->GetClientRect( &rect );

cs.cx = rect.Width(); cs.cy = rect.Height();

if( !CMDIChildWnd::PreCreateWindow(cs) )
return FALSE;

return TRUE;
}

It's very close to success. But look closely, you will find a bit off. main frame overlapped child frame a little bit. I think that is because of edge of main frame window. But I am getting client area, it should not include edge right? any one can explain?






Questionsplitter window dynamic merge too panes. Pin
LeeeNN26-Jan-06 7:46
LeeeNN26-Jan-06 7:46 
AnswerRe: splitter window dynamic merge too panes. Pin
David Crow26-Jan-06 8:13
David Crow26-Jan-06 8:13 
QuestionPainting in "CFormView::OnPaint" over controls Pin
AnTri26-Jan-06 7:41
AnTri26-Jan-06 7:41 
QuestionAlternatives to WinHTTP and SoapToolkit? Pin
Ed K26-Jan-06 5:10
Ed K26-Jan-06 5:10 
QuestionDoes anyone know the default location to.. Pin
JohnnyG26-Jan-06 4:38
JohnnyG26-Jan-06 4:38 
AnswerRe: Does anyone know the default location to.. Pin
David Crow26-Jan-06 7:26
David Crow26-Jan-06 7:26 
QuestionRoaming profile Pin
P Gibson26-Jan-06 3:48
P Gibson26-Jan-06 3:48 
QuestionRe: Roaming profile Pin
David Crow26-Jan-06 4:11
David Crow26-Jan-06 4:11 
QuestionCMDIFrameWnd in ActiveX Pin
souso2026-Jan-06 3:12
souso2026-Jan-06 3:12 
Question[Message Deleted] Pin
Zanathel26-Jan-06 2:20
Zanathel26-Jan-06 2:20 
QuestionProblem in showing the dialog form in different desktop created using CreateDesktop()? Pin
Amarelia26-Jan-06 2:00
Amarelia26-Jan-06 2:00 
AnswerRe: Problem in showing the dialog form in different desktop created using CreateDesktop()? Pin
Rage26-Jan-06 3:24
professionalRage26-Jan-06 3:24 
GeneralRe: Problem in showing the dialog form in different desktop created using CreateDesktop()? Pin
Amarelia26-Jan-06 7:05
Amarelia26-Jan-06 7:05 
GeneralRe: Problem in showing the dialog form in different desktop created using CreateDesktop()? Pin
Owner drawn26-Jan-06 17:16
Owner drawn26-Jan-06 17:16 
AnswerRe: Problem in showing the dialog form in different desktop created using CreateDesktop()? Pin
BadKarma26-Jan-06 21:29
BadKarma26-Jan-06 21:29 
QuestionDDX and DDV for dynamic CEdit Pin
JohnMFC26-Jan-06 1:21
JohnMFC26-Jan-06 1:21 
AnswerRe: DDX and DDV for dynamic CEdit Pin
Rage26-Jan-06 3:26
professionalRage26-Jan-06 3:26 

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.