Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

disallowing panel resize below minimum?

$
0
0

Is there a way to forbid active resizing of a panel below minimums?  I've read this post and looked up example projects, but they mostly deal with the EVENT_PANEL_SIZE event (after the resize is done).  

 

I'd like to utilize the EVENT_PANEL_SIZING event which is while the resizing is happening.  The idea is this:

 

As you click and drag the size of a panel, I would like the panel to stop resizing with your mouse cursor once the minimum height and width dimensions are reached.  This seams like it should be easy.  But I can't quite crack it.


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>