|
-
Sep 8th, 2000, 09:03 AM
#1
Thread Starter
Addicted Member
I run my vb program in a dos shell under windows in full screen mode. When the vb program runs it minimizes the dos window to the task bar. Then when i quit my vb program, it doesnt get focus on the dos window and open once again to full screen mode. The way i exit the vb program is unload me and then followed by end. Can someone help me here. I need to be able to return to the full size dos screen once i have finished working with my vb program. Please reply asap.. thanks.
-
Sep 8th, 2000, 10:29 AM
#2
Frenzied Member
I think you should...
...send messages to the window
Via the API, you shell the prog via your prog right? Then you don't need the FindWindow api.
shell it like this:
MyHwnd = Shell(Prog,blabla)
and Send a (I believe it was <Shift> Character to gain focus, and the I believe you can send a WM_Maximize to the window to maximize it.
I ain't no guru so I think anyone else can explain you the details/exact syntax for the API's. (I've only used FindWindow)
Good Luck!
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|