How to get the preview pane handle, when it is created with menu c

Status
Not open for further replies.
M

Madkr

I need to get the reading pane window handle, when it is created after the

user clicks the menu as "view -reading Pane - right".

I am able to get the handle of it, if this option is already set as "right"

or "bottom"

But if the preview pane option is "off", when the outlook initially opened,

on the clcik of the option, I am not getting the window handle.

I am getting it, if I close the reading pane and open it again.

First time, when the reading pane or to-do-bar is created with menu click, I

am not getting the window handle.

Can anyone please help me in this direction? How to get the handle at the

first time?

Thanks
 
You would need to subclass the main Outlook window and handle the new window

creation. Probably something like handling CreateWindowEx() messages

directed at the main Outlook window with an attribute of WS_CHILD, then

checking the class of the new window to verify that it's a reading pane

window.

"Madkr" <Madkr> wrote in message

news:27FBE3B2-8F10-4B32-99FC-3F15DFAE1660@microsoft.com...
> I need to get the reading pane window handle, when it is created after the
> user clicks the menu as "view -reading Pane - right".
> I am able to get the handle of it, if this option is already set as
> "right"
> or "bottom"
> But if the preview pane option is "off", when the outlook initially
> opened,
> on the clcik of the option, I am not getting the window handle.
> I am getting it, if I close the reading pane and open it again.

> First time, when the reading pane or to-do-bar is created with menu click,
> I
> am not getting the window handle.

> Can anyone please help me in this direction? How to get the handle at the
> first time?
> Thanks
>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
R Call a Public Sub when a Flag is clicked on in the Message Preview pane Outlook VBA and Custom Forms 1
H What Controls what is shown in the preview pane Outlook VBA and Custom Forms 1
B Auto Preview Attachment in Inspector Reading Pane Outlook VBA and Custom Forms 1
J Copy email from preview pane with headers Outlook VBA and Custom Forms 4
Y (Shared Folder) Using the preview pane to open and close a fax, without opening the email itself Using Outlook 1
Z Chaning MessageClass with Preview Pane Outlook VBA and Custom Forms 4
e_a_g_l_e_p_i Gmail in Outlook 2010 preview issue Using Outlook 4
P Categorise emails on sending - macro not working in Preview mode Using Outlook 1
T Outlook 2016 mp3 attach "this file cannot be preview because there is no previewer installed for it" Using Outlook 1
A OL16 C2R attachment preview fails Using Outlook 8
Z Importing PST files from Outlook 07 to Outlook mac Preview Using Outlook 1
I Outlook 2016 Preview Address Book Options Using Outlook 2
Diane Poremsky Outlook 2016 Preview Using Outlook 4
Diane Poremsky Disable Live Preview in Outlook and Word Using Outlook 0
Diane Poremsky New Office365 Feature: URL Preview in OWA Using Outlook 0
1Firefly Outlook 2013 Converstation preview does not show my last reply Exchange Server Administration 1
L Sort bar at top of inbox preview outlook 2013 Using Outlook 1
A Possible to modify people preview window? Using Outlook 1
B Outlook 2010 won't preview Office attachments Using Outlook 3
D Use Outlook 2003 embedded imaged cannot print from the mail preview list Using Outlook 4
M Estimated time in preview bar. Using Outlook 1
E Blank Print Preview when access via the Quick Access toolbar Using Outlook 3
P Read receipts and preview panes Using Outlook 1
K Outlook 2007 preview jpg files Using Outlook 5
E Preview of Form Region Outlook VBA and Custom Forms 4
Z Automatically adjust Outlook Reading Pane from bottom to right depending on portrait or landscape window Using Outlook 1
J Increase read pane font size, but NOT image size? Using Outlook 3
S Navigation Pane Location And Options Using Outlook 19
S Folder Pane Colour Categories Using Outlook 6
C Can't Locate an Unread Message in my Outlook view pane Using Outlook 0
lcarpay Stay in the mail folder pane after ctrl-1 Using Outlook 1
bhamberg Shortcuts in Folder Pane (Outlook 2016) Using Outlook 19
D Outlook launch email showing new unread email in reading pane Using Outlook 11
D cannot view emails in View pane (in the right pane), I only see one line or nothing Using Outlook 21
e_a_g_l_e_p_i Outlook 2010 How can I change the font size on right side appointment pane Using Outlook 12
P Shortcut Pane - add shortcut to Office365 group mailbox Using Outlook 1
B Outlook 365 - Folder pane list clears Using Outlook 28
P Add, remove, & reorder folder pane Using Outlook 6
R Folder pane width change Using Outlook 90
W Outlook 2010 Reading Pane Slows Startup Using Outlook 3
C Custom Form (seperate layout pages and message reading pane) Outlook VBA and Custom Forms 0
C Reading Pane for Custom Form Outlook VBA and Custom Forms 2
llama_thumper Composingemails in reading pane Using Outlook 1
O Reading Pane safety Using Outlook 0
P Reading Pane (Reading Pain?) Default Setting Using Outlook 1
M Outlook 2016 bottom reading pane has disappeared Using Outlook 2
N Wide Line Spacing in Folder pane 2016 Using Outlook 18
M Outlook 2016: Changing default font for Notes and Reading Pane Using Outlook 4
GregS What controls content of Folder Pane? Using Outlook 1
A Outlook 2016 Will Not Show Any Data In the People Pane Using Outlook 17

Similar threads

Back
Top