|
-
Apr 4th, 2005, 02:14 AM
#1
Thread Starter
Addicted Member
Event
i want to know which event is this when an application is running, its window is the active window currently, and another application gets selected from lets say the task bar or another application is run
which is this event
-
Apr 4th, 2005, 02:19 AM
#2
Re: Event
the application that has focus. i think it has to be an active form, not loading.
-
Apr 4th, 2005, 06:00 AM
#3
New Member
Re: Event
It might be WM_WINDOWPOSCHANGED, but I'm not absolutely sure. You'd want to check if it's the Z-order of the window being changed.
-
Apr 4th, 2005, 06:12 AM
#4
-
Apr 4th, 2005, 06:14 AM
#5
Thread Starter
Addicted Member
Re: Event
first of all Check the Z-Order in which event n then the problem actually is that im displying a form in an MDI form, which is not a mdi child, so i want to change it as the mdi form changes, i have done it for mdi minimize that it hides, but now i want to also hide it when the window is deselected, i tried to use this code but it din't work
VB Code:
Private Sub MDIForm_Activate()
Frm_Info.Visible = True
End Sub
Private Sub MDIForm_Deactivate()
Frm_Info.Visible = False
End Sub
Women ...r like tea bags, you neva know how strong they really r untill u put them in hot water
Huzefa Yousuf
Software Engineer
Verticity Inc.
+92-345-2235303
[email protected]
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
|