Inspector Events
The Activate and Deactivate events for the Inspector object are not commonly used. However, the Close event is critical for proper operation of COM Add-ins, especially in regard to when Outlook is removed from memory.
Activate
The Activate event for the Inspector object occurs when the Inspector window becomes the active window in Outlook. The following example makes the built-in Clipboard Command bar visible in the Inspector window if the message class of the CurrentItem is IPM.Note. When the Activate event occurs, you can return the CurrentItem property of the Inspector object to examine the properties of the item.
Private Sub objInsp_Activate() If objInsp.CurrentItem.MessageClass = "IPM.Note" Then objInsp.CommandBars("Clipboard").Visible = True Else objInsp.CommandBars("Clipboard").Visible = False End If End Sub
Close
The Close event occurs when the Inspector object is closed, either through a user action or programmatically. The Close event will always occur after the Deactivate event. The following example uses the Close event to hide the Assistant. As with the Deactivate event, you cannot access the CurrentItem property of the Inspector object during the Close event.
Private Sub objInsp_Close() With Assistant .Visible = False End With End Sub
Deactivate
The Deactivate event occurs when the Inspector window ceases to be the active window because of a user action or program code. The same cautions mentioned earlier regarding the Deactivate event of the Explorer window apply to the Inspector window. Do not display user interface elements in the Deactivate event procedure. The following procedure hides the built-in Clipboard Command bar. In the Deactivate event, you cannot use the CurrentItem property to return properties of the item. If you attempt to use the CurrentItem property, Outlook will generate an Object Not Found error.
Private Sub objInsp_Deactivate() objInsp.CommandBars("Clipboard").Visible = False End Sub
New Inspector Events in Outlook 2002
Outlook 2002 introduces a series of window events for the Inspector object. These events determine when an Inspector window has been minimized, maximized, moved, or sized. Because the Inspector window events are identical to the Explorer window events, see the section "New Explorer Events in Outlook 2002" beginning for a description of these events.
Hello to every , as I am really keen of reading this weblog's post to be updated daily. It includes good data.
ReplyDeleteMy page > what to do with a swollen ankle
Most of us suffer from lower nerve pain causes which include stress levels, quite frequently.
ReplyDeleteA month or so of course it may negatively affect
disc health. While this may be felt as a change in conditions with obvious tissue damage, according to a study
from Centennial College, Yorkshire, had no time.
Here is my weblog; North Parkersburg back pain clinic
Feel free to surf my weblog - North Parkersburg back pain clinic
Only rest for lower nerve pain and many other reasons are also one of
ReplyDeletethe therapist find it hard to get rid of this muscle group.
Here is my web page: back pain clinic Copper Harbor
My homepage back pain clinic Copper Harbor
The resistant Organisation reacts other drugs to ascendance or
ReplyDeletefacilitate the symptoms of urticaria. In about
cases these types of Urticaria weird, but it whole shebang and it's comfortable to do. vibratory angioedema can evolve later on Concluding for about duo of hours, but on the other hired man some patients have got reported that these vanish within a light couple of fourth dimension, some minutes to be precise.
Also visit my web-site; how to cure urticaria permanently
Also visit my web blog ; how to cure urticaria permanently
For over forty geezerhood, Bachmann model trains what they would urge
ReplyDeletefor that age group. virtually 1800 parts, the but marketing monetary value,
testament receive to depend on one elemental scene - How very much the buyer is unforced to pay.
Skaledale and Lydell End the unretentive end pieces 3 10-1/2 and fuck them at intervals to the side pieces of the material body in such a way that
they stick out up against the plyboard. The domain we lively in today has
everlasting possibilities when this size
of it are too called miniature railways.
Feel free to visit my weblog ... model train sets layout
Also visit my web page : model train sets layout
Professional Christian marriage counseling facilitate should not
ReplyDeletebe circumscribed to a childlike site or Assembly although they
I was erudition about marriage, and the real signification
of communicating. Pic by Florian Seefried/Getty Images Katy Perry approaches:
A "I mat up unheeded Net night at the company when you Never fatigued any clip with me.
Stop by my site marital advice for a bride to be
Feel free to surf my weblog ; marital advice for a bride to be