04-04-2012 12:51 PM
Hi all,
In my application the user is allowed resize the screen and I am setting a maximum limit. When windows toolbar 'Maximize' button is hit, the screen fills the entire monitor before it is brought back to the custom size - due to Panel Resize notify event and not filter event. Since there is no VI property to set the maximum size, I am thinking of intercepting the Windows Message queue. When I search I got into this link http://zone.ni.com/devzone/cda/epd/p/id/4394. But the message numbers other than what is specified in the example do not work. Any idea on this? Or any other method to achieve the desired functionality?
Thanks,
Priyadarsini S
04-04-2012 01:25 PM
Instead of use Windows build-in Max button, create a button or customer menu.
04-04-2012 01:34 PM
Hi George,
The custom button/menu is definitely an option. But the custom button involves a lot of programming to handle windows drag etc. I was wondering if there is any simpler solution as NI has already come to a level to providing a driver to access Windows queue. But I will definitely keep your suggestion.
Thanks,
Priyadarsini S