PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
How To get an hWnd?
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
How To get an hWnd?
![]() |
How To get an hWnd? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I'm fairly new to Outlook programming and VBA. So for my
first trick I'm writing my own "Incoming Message Rule Processor". Anyways, I'd like to display an icon in the System Tray when my script is running. The only issue I have at the moment is that the function to write to the System Tray requires an hWnd reference. And I can't find any easy way to do this. There's some relevant sample code at: http://www.outlookcode.com/d/code/clearenvicon.htm, but it states that it uses a function (AddressOf) that precludes its use in "ThisOutlookSession". Can anyone tell me an "easy" way to get a valid hWnd? Thanks, Mike |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

