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 Outlook 2010 How could I globally redesign an outlook template form/region/inspector template used to display mail lists or an individual mails? Outlook VBA and Custom Forms 0
Travis Lloyd Messages Won't Display In Outlook 2019 Home & Business Using Outlook 0
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 Using Outlook 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 Using Outlook 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
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 vba outlook search string with special characters Outlook VBA and Custom Forms 1
F Wishlist Outlook suddenly began synchronizing deleted items every time I delete a single email. Using Outlook 1
U Outlook 2019 VBA run-time error 424 Outlook VBA and Custom Forms 2
K Outlook 2019 Randomly Disconnecting from Gmail Servers Using Outlook 5
P Outlook calendar and contacts sync problem-outlook disconnects Using Outlook.com accounts in Outlook 2
HarvMan Toggle between calendar and email in Outlook 365 Using Outlook 2
V Outlook error 500 Using Outlook 2
F Email being marked as Spam by Gmail and not being visible in Outlook Using Outlook 3
S Mac Outlook 365 Questions Using Outlook 0
M Outlook calendar is missing Using Outlook 2
G Save and Rename Outlook Email Attachments Outlook VBA and Custom Forms 0
G Trigger script without restaring outlook Outlook VBA and Custom Forms 7
T Have you written an articles about Outlook? Using Outlook 3

Similar threads

Top