BOOKS i'm reading | Control Client area minimum size (WM_GETMINMAXINFO) with MFC in C++Contents
The demo programThis section's purpose is to present the recipe for using
This it it! It is that simple. Now you can play around. Remove and replace the status bar. Place the toolbar on any side of the frame. Your client area will always respect the minimum size that you specified.
Limitations and suggestions for enhancementsEven if I am quite happy with the end result, this code is still not perfect. Here is a list of things that could be done:
When I wrote this article I had two goals in mind. First, help my fellow programmers that have encountered the same problem I did. Secondly, I hope to receive feedback from you if you find ways to improve the code. If you do so, I will update this article with your improvements. ConclusionThat is it! I hope you enjoyed this C++ programming tutorial and that you have found it useful. In the next section, you will find the books that I have consulted to build this C++ Windows programming tutorial. Those books are great and filled with Windows programming gems that you should know. It is strongly recommended that you get yourself a copy of these books especially since from time to time, you can find these books at a bargain price. Take the time to check the prices. This is maybe your lucky day today! Bibliography
|