What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » setForegroundWindow - BringWindowToTop [???]

setForegroundWindow - BringWindowToTop [???]
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: setForegroundWindow - BringWindowToTop [???]
code:
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function SetForegroundWindow Lib "user32" (ByVal hwnd As Long) As Long
Private Sub Form_Load()

'   hWnd would be the variable that contains the actual window handle. Change it with whatever you are using to store the Window Handle in.
    SetForegroundWindow hWnd

End Sub

This post was edited on 06-15-2005 at 02:24 AM by matty.
06-15-2005 02:24 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
setForegroundWindow - BringWindowToTop [???] - by XM4ST3RX on 06-14-2005 at 11:50 PM
RE: setForegroundWindow - BringWindowToTop [???] - by matty on 06-15-2005 at 01:40 AM
RE: setForegroundWindow - BringWindowToTop [???] - by XM4ST3RX on 06-15-2005 at 01:41 AM
RE: setForegroundWindow - BringWindowToTop [???] - by matty on 06-15-2005 at 02:15 AM
RE: setForegroundWindow - BringWindowToTop [???] - by XM4ST3RX on 06-15-2005 at 02:18 AM
RE: setForegroundWindow - BringWindowToTop [???] - by matty on 06-15-2005 at 02:24 AM
RE: setForegroundWindow - BringWindowToTop [???] - by XM4ST3RX on 06-15-2005 at 02:30 AM
RE: setForegroundWindow - BringWindowToTop [???] - by Stigmata on 06-15-2005 at 06:29 AM
RE: setForegroundWindow - BringWindowToTop [???] - by TazDevil on 06-17-2005 at 11:07 AM


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