|
-
Mar 16th, 2000, 11:23 AM
#1
Thread Starter
New Member
What I would simply make is like the RESTORE command...
-
Mar 16th, 2000, 04:08 PM
#2
Frenzied Member
Please be a little more specific - what's the RESTORE command ?
'Buzby'
Visual Basic Developer
"I'm moving to Theory. Everything works there."
-
Mar 16th, 2000, 04:28 PM
#3
PowerPoster
May be you can use the AppActivate.
-
Mar 16th, 2000, 05:24 PM
#4
Conquistador
your application or someone else's?
-
Mar 16th, 2000, 05:36 PM
#5
Conquistador
you could try this:
Code:
'Declarations
Declare Function SetActiveWindow Lib "user32.dll" (ByVal hwnd As Long) As Long
Declare Function SetForegroundWindow Lib "user32.dll" (ByVal hwnd As Long) As Long
'Function
Public Function ActivateWindow(hwnd As Integer)
Dim retval As Long
retval = SetForegroundWindow(hwnd)
retval = SetActiveWindow(hwnd)
End Function
'To use
Private Sub Hello_Click()
ActivateWindow Me.Hwnd
End Sub
-
Mar 29th, 2000, 02:32 PM
#6
New Member
setforegroundwindow on Win98
Hi,
I've tried using setforegroundwindow and setactivewindow APIs but they don't work on Win98.
The problem is: Win98 only flashes your app on the taskbar and does not 'jump' at the user like Win95.
Is there a solution?
Thanks!
-Samseng
-
Apr 1st, 2000, 04:45 PM
#7
Conquistador
i don't know sorry
i use win 98
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
|