Click here to Skip to main content
15,890,670 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: IHTMLElement usage crash in VC++ Pin
SandipG 28-Jun-10 21:22
SandipG 28-Jun-10 21:22 
GeneralRe: IHTMLElement usage crash in VC++ Pin
Niklas L28-Jun-10 21:30
Niklas L28-Jun-10 21:30 
GeneralRe: IHTMLElement usage crash in VC++ Pin
Pk.j28-Jun-10 23:48
Pk.j28-Jun-10 23:48 
AnswerRe: IHTMLElement usage crash in VC++ Pin
Niklas L28-Jun-10 21:29
Niklas L28-Jun-10 21:29 
GeneralRe: IHTMLElement usage crash in VC++ Pin
Pk.j28-Jun-10 23:54
Pk.j28-Jun-10 23:54 
GeneralRe: IHTMLElement usage crash in VC++ Pin
Niklas L29-Jun-10 9:59
Niklas L29-Jun-10 9:59 
QuestionCDialogBar Usage very confusing.. Pin
ForNow28-Jun-10 6:56
ForNow28-Jun-10 6:56 
AnswerRe: CDialogBar Usage very confusing.. Pin
Niklas L28-Jun-10 8:32
Niklas L28-Jun-10 8:32 
I assume you are building CFrameWnd based application which is needed to use the CDialogBar. Here I also assume you will be using the CDialogBar in a CMainFrame class (and not a CChildFrame which is also possible)

You can create the CDialogBar whenever you'd like after the main window has been created (you normally set the frame window as the parent of the CDialogBar). So you can create it when you need it i.e. when your modless dialog is opened.

It might however be more practical to create it in CMainFrame::OnCreate initially hidden and then just show/hide the CDialogBar when needed. The reason for this is the LoadBarState/SaveBarState API used to store the docking state of docking windows. It is much easier to handle LoadBarState on application start-up and SaveBarState on exit for all dockable windows at once and not make any special arrangements for a specific CDialogBar. If this is not important, you can create the CDialogBar whenever you want.

GeneralRe: CDialogBar Usage very confusing.. Pin
ForNow28-Jun-10 8:45
ForNow28-Jun-10 8:45 
GeneralRe: CDialogBar Usage very confusing.. Pin
Niklas L28-Jun-10 8:53
Niklas L28-Jun-10 8:53 
GeneralRe: CDialogBar Usage very confusing.. Pin
ForNow28-Jun-10 9:01
ForNow28-Jun-10 9:01 
QuestionFolder Save Pin
mdocvc28-Jun-10 6:42
mdocvc28-Jun-10 6:42 
AnswerRe: Folder Save Pin
Rajesh R Subramanian28-Jun-10 6:55
professionalRajesh R Subramanian28-Jun-10 6:55 
AnswerRe: Folder Save Pin
rp_suman28-Jun-10 7:55
rp_suman28-Jun-10 7:55 
GeneralRe: Folder Save Pin
mdocvc29-Jun-10 8:36
mdocvc29-Jun-10 8:36 
QuestionVissual C++ express 2008 Pin
cavemen28-Jun-10 5:02
cavemen28-Jun-10 5:02 
AnswerRe: Vissual C++ express 2008 Pin
Maximilien28-Jun-10 5:44
Maximilien28-Jun-10 5:44 
GeneralRe: Vissual C++ express 2008 Pin
cavemen28-Jun-10 7:10
cavemen28-Jun-10 7:10 
GeneralRe: Vissual C++ express 2008 Pin
Maximilien28-Jun-10 7:14
Maximilien28-Jun-10 7:14 
GeneralRe: Vissual C++ express 2008 Pin
cavemen28-Jun-10 10:38
cavemen28-Jun-10 10:38 
GeneralRe: Vissual C++ express 2008 Pin
Maximilien28-Jun-10 12:37
Maximilien28-Jun-10 12:37 
GeneralRe: Vissual C++ express 2008 Pin
Richard MacCutchan28-Jun-10 21:36
mveRichard MacCutchan28-Jun-10 21:36 
GeneralRe: Vissual C++ express 2008 Pin
Aescleal29-Jun-10 0:09
Aescleal29-Jun-10 0:09 
GeneralRe: Vissual C++ express 2008 Pin
Richard MacCutchan29-Jun-10 1:45
mveRichard MacCutchan29-Jun-10 1:45 
QuestionImage Matrix Pin
Harish Makaram28-Jun-10 3:34
Harish Makaram28-Jun-10 3:34 

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.