Docking Bar on Dialog
Introduction: Normal Dialog doesn't support creating docking bars on it. This article explains how to create a docking bar on Dialog
Creating Docking bar: CFrameWnd is a MFC class supports docking bars. Creating Docking bars is easy with CFrameWnd. Generally CFrameWnd used to create SDI or MDI applications.
Follow These steps to create a Docking bar in dialog.
1) Create Dialog bases application using MFC App wizard
2) Derive a new class from CFrameWnd and declare a member variable for CDialogbar.
3) Create Dialog Bar on frame window's OnCreatec function.
4) Call enable docking functions CDialogBar and CFrameWnd
5) Create a member variable of type Frame in main Dialog class
6) On Dialog initialization create Frame with WS_CHILD style
More Details and source code can be found here: http://neuralnetworks.in/DockBarOnDialog.html
0 Comments:
Post a Comment
<< Home