LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Window Maximize event filter

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

0 Kudos
Message 1 of 3
(2,360 Views)

Instead of use Windows build-in Max button, create a button or customer menu.

 

George Zou
0 Kudos
Message 2 of 3
(2,356 Views)

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

0 Kudos
Message 3 of 3
(2,355 Views)