Hi:
I have a vb.net 2019 winforms application that is designed to run in the systray. During program shutdown, it saves form size and position to a config file. If I have the window open and shut the program down, there is no problem. But when the program shuts down while minimized. the form size and position are bizarre numbers.
Any ideas on how to get the "Windows state = Normal" numbers while the form is minimized?
Thanks!!!
I have a vb.net 2019 winforms application that is designed to run in the systray. During program shutdown, it saves form size and position to a config file. If I have the window open and shut the program down, there is no problem. But when the program shuts down while minimized. the form size and position are bizarre numbers.
Any ideas on how to get the "Windows state = Normal" numbers while the form is minimized?
Thanks!!!