How to make outlook display alert appear on top of other windows whenever a new email is received?

Status
Not open for further replies.

Peppa

New Member
Outlook version
Outlook 2016 32 bit
Email Account
Exchange Server
Hi,

My team and I have to monitor a common shared mailbox and there is always a tendency which emails are left unnoticed.

Hence, I would like to write a code that allows a display alert to appear whenever a new email with specific keywords is received.

In addition, I notice that outlook display alerts always hide behind other windows and applications, hence, is there a code for the display alert to appear on top of every other applications?

Looking forward to seeing some help.

Thanks much!
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
That'd be some work to do. When the popup is displayed, you need to get some information from it with a tool like Spy++. It shows you the name of the window and where in the structure of all Outlook windows you'll find it. Once you know that you can use this sample to find the window by code:
Find a Window by the Win32 Api - VBOffice

It will return the window handle if found. And with that handle you can call the Win32 API function "SetWindowPos" to display the window on top of all other windows.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
M In Outlook Calendar remove the buttons: 'Today' and '<' (Back a day) and '>' (Forward a day) that are below the Ribbon and above the calendar display. Using Outlook 0
E How to display "Change Folder" in Change Default Email Delivery Location in Exchange Outlook 2016 Using Outlook 1
C Outlook Mobile app email order randomized and display names stripped Using Outlook 6
I How to display sender's name instead of email address in outlook 2013 message Using Outlook 5
J Outlook 2016 message content does not display - outlook.com; exchange Using Outlook.com accounts in Outlook 9
soadfan Outlook rules look up display name only Using Outlook 4
T outlook 2010 mail item count doesnt match display Outlook VBA and Custom Forms 3
T Outlook 2016 Calendar multiday event display Using Outlook 4
Diane Poremsky Display the Created Date field of any Outlook item New Slipstick.com Articles 0
K Display sub-folders in body of outlook Using Outlook 1
O How to display multi-line task in To-Do List - Outlook 2010 Using Outlook 1
Diane Poremsky Pictures don't display in Outlook messages New Slipstick.com Articles 4
M Outlook VBA Macro that could retrieve/display the (From, Subject, Date Received) Outlook VBA and Custom Forms 2
William Yeack Outlook/Exchange - Changing display of “From” user Using Outlook 3
M Display as name in outlook contacts changes Using Outlook 5
Maybear Sudden change in Outlook, no image display, email no longer offers suggestions for address Using Outlook 8
B Display of Sending Account in Outlook 2007 no longer works Using Outlook 2
P Outlook can not display picture inline. Using Outlook 7
O Outlook 2013 contacts - Where to find "Display as"-field Using Outlook 2
J Outlook 'From' and 'Display As' Using Outlook 1
D Outlook Calendar Display Using Outlook 10
F Outlook 2010 contact e-mail Display as: does not show contact name Using Outlook 2
C Optimize your Outlook 2013 screen display for touch Using Outlook 1
J outlook having sort by date or from unable to display sender name. Using Outlook 2
G Outlook 2013 display the wrong font Using Outlook 7
C [outlook-users] Display Name Using Outlook 3
B Outlook cannot display this view Using Outlook 1
B Outlook 2010 People Pane doesn't display appointments Using Outlook 2
A Messages sent from Outlook 2010 display incorrect 'sent to' name in Hotmail Using Outlook.com accounts in Outlook 4
N Outlook 2010 will not add or display new email accounts Using Outlook 3
L Anyway to Display entire category list in Outlook 2007 automatically? Using Outlook 1
Y Outlook 2007 not display conversation history on Reply or Forward Using Outlook 0
J Display the Weather in Outlook Calendar? Using Outlook 1
C 20 Seconds to Display Messages in Folder in Outlook 2007 Using Outlook 2
F Add-In Tab won't display in Outlook 2010 Ribbon Using Outlook 1
H Outlook 2007 slow folder content display after installing kb2412171 Using Outlook 33
K Outlook 2007 ribbon does not display "encrypt" and "sign" buttons Using Outlook 2
M Cannot display the folder. Outlook cannot open this item. The item may be damaged. __ Using Outlook 1
E Getting all items in Outlook contact activities to display properly Using Outlook 2
I Outlook email content display issue Using Outlook 3
T "Look up Outlook Contact" from a received email does not display all of the contact information Using Outlook 9
T Outlook Today does not display in Oultook 2010 Using Outlook 3
S Display SharePoint document library in a customized Outlook form Outlook VBA and Custom Forms 1
E Display Outlook Data from more than one Folder like SQL JOIN Outlook VBA and Custom Forms 3
M how to change outlook calendar time display Using Outlook 5
B Outlook 2007 Custom Form does not display in 2003 Outlook VBA and Custom Forms 3
S Outlook email to configure setup for each mail Outlook VBA and Custom Forms 0
witzker print-list-of-outlook-folders with sort posibility Outlook VBA and Custom Forms 7
witzker Open Contact missing in Outlook 2019 Using Outlook 2
D.Moore VB script to Digitaly Sign newly created outlook message Outlook VBA and Custom Forms 2

Similar threads

Top