Prevent resize of custom taskbar (toolbar)
-
Stingray Studio is used to create a SECCustomStatusBar to display a toolbar in my application. The code is written in C++ using MFC, but I want to prevent the user from having the ability to resize the toolbar. The toolbar is to automatically resize when the application is not maximized and the user sets the application's window size to his/her preference. Can this toolbar remove the ability for the operator to click, hold, and drag the bottom right corner of this toolbar to resize it?
-
Stingray Studio is used to create a SECCustomStatusBar to display a toolbar in my application. The code is written in C++ using MFC, but I want to prevent the user from having the ability to resize the toolbar. The toolbar is to automatically resize when the application is not maximized and the user sets the application's window size to his/her preference. Can this toolbar remove the ability for the operator to click, hold, and drag the bottom right corner of this toolbar to resize it?
Handle WM_MINMAXINFO. I think you should give the same number for min and for max, so there is no range for the user to change size.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal