What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Showing Form without vbModal in VB? For the programmers out there... :D

Showing Form without vbModal in VB? For the programmers out there... :D
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Showing Form without vbModal in VB? For the programmers out there... :D
quote:
Originally posted by (CyBeRDuDe)
I just didn't think you could use the ShowWindow api like that
You can do even a lot more with it ;)


'Hides the window and activates another window.
Public Const SW_HIDE = 0

'Activates and displays a window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when displaying the window for the first time.
Public Const SW_SHOWNORMAL = 1

'Activates the window and displays it as a minimized window.
Public Const SW_SHOWMINIMIZED = 2

'Activates the window and displays it as a maximized window.
Public Const SW_SHOWMAXIMIZED = 3

'Displays a window in its most recent size and position. The active window remains active.
Public Const SW_SHOWNOACTIVATE = 4

'Activates the window and displays it in its current size and position.
Public Const SW_SHOW = 5

'Minimizes the specified window and activates the next top-level window in the Z order.
Public Const SW_MINIMIZE = 6

'Displays the window as a minimized window. The active window remains active.
Public Const SW_SHOWMINNOACTIVE = 7

'Displays the window in its current state. The active window remains active.
Public Const SW_SHOWNA = 8

'Activates and displays the window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when restoring a minimized window.
Public Const SW_RESTORE = 9

'Sets the show state based on the SW_ flag specified in the STARTUPINFO structure passed to the CreateProcess function by the program that started the application.
Public Const SW_SHOWDEFAULT = 10

This post was edited on 05-21-2005 at 03:24 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
05-21-2005 03:10 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Showing Form without vbModal in VB? For the programmers out there... :D - by (CyBeRDuDe) on 05-20-2005 at 08:00 PM
RE: Showing Form without vbModal in VB? For the programmers out there... :D - by matty on 05-21-2005 at 04:05 AM
RE: Showing Form without vbModal in VB? For the programmers out there... :D - by Mike on 05-21-2005 at 11:46 AM
RE: Showing Form without vbModal in VB? For the programmers out there... :D - by CookieRevised on 05-21-2005 at 01:11 PM
RE: Showing Form without vbModal in VB? For the programmers out there... :D - by RaceProUK on 05-21-2005 at 01:56 PM
RE: RE: Showing Form without vbModal in VB? For the programmers out there... :D - by CookieRevised on 05-21-2005 at 02:47 PM
RE: Showing Form without vbModal in VB? For the programmers out there... :D - by (CyBeRDuDe) on 05-21-2005 at 02:50 PM
RE: Showing Form without vbModal in VB? For the programmers out there... :D - by CookieRevised on 05-21-2005 at 03:10 PM
RE: Showing Form without vbModal in VB? For the programmers out there... :D - by DeVill on 07-03-2005 at 12:20 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On