Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Side Effect Restore Windows From Minimized State...
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Side Effect Restore Windows From Minimized State...
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01322836
Message ID:
01322836
Views:
72
I wrote a "idle" timer that minimizes my application after a certain time has passed. When the user attempts to "restore" the window, I trap the WM_WINDOWPOSCHANGING message in the WndProc event, then I display a login form. If they login again properly, I manually restore the form by changing the WindowState to Normal.

Here is my problem, if there was a MODAL form open at the time of minimize, when I restore the main application form, the MODAL form does not restore. It stay hidden, but still loaded in memory. I tried to make VISIBLE = TRUE, but the problem is that the form is no longer MODAL.

Any suggestions?
________________________
Ben Santiago, MCP & A+
Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)
Eastern Suffolk BOCES - Student Data Services


Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
-Rich Cook
Next
Reply
Map
View

Click here to load this message in the networking platform