Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

StatusBar in a view of a SDI split Window...

Hi experts. I am trying this on VC++ 1.52
How can I create a StatusBar in a view of a SDI split Window?
I have a SDI with two views, but I would like a StatusBar for the top view (view1) in order to write some information related to my view. ie.

|-----------------|
|     view1       |
|                 |
|-----------------|StatusBar of my View1
|-----------------|
|     View2       |
|                 |
|-----------------|

I Have something like that in a MDI application for one view but I donĀ“t know how to change it to SDI.

Please,some advice
thank you.



0
jespadas
Asked:
jespadas
1 Solution
 
plarocheCommented:
You should derive a class from CSplitterWnd and have the derived class create a CStatusBar window.  Then all you need is to position the status-bar correctly, reserving space for it and leaving the space left for the contained window.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now