How do I display a CStatusBarCtrl
inside a dialog class (inheriting from CDialogImpl
)?
Asked
Active
Viewed 563 times
0

user541686
- 205,094
- 128
- 528
- 886
1 Answers
2
There is nothing special - you create the window, with the proper owner (the dialog), and you put it into proper position... Just like any other control created from code.

Roman R.
- 68,205
- 6
- 94
- 158
-
But how do I get it working for dialogs? Frames are easy, but I'm not sure what the best way to put it in a dialog is. – user541686 Sep 08 '11 at 18:43
-
Your answer to my other question works for this, so if you'd like, mention the solution here and I'll accept it! :) – user541686 Sep 08 '11 at 20:07
-
OK, so the thread which actually helped to sort thi status bar question out is here: http://stackoverflow.com/questions/7324153/how-to-create-a-splitter-in-atl-wtl/7352354#7352354 – Roman R. Sep 08 '11 at 20:14