minimize maximize form
Posted on 1998-03-04
I have 2 form, when I minimize the second form, I see the minimize box in the corner of my desktop (just like each form in delphi). Then I use Application.minimize to really minimise everything but when I maximize, the second form didn't maximize automatically. I use windowstate to change the state of the form in the OnResize to maximize the form but it didn't work.
I also try WM_SYSCOMMAND but it not work.
Any idea how to do that?
I really appreciate if you can provide me a code sample to do the job.