How to resize the instant search pane on click on the icon to expand/

Status
Not open for further replies.

madhavi

Member
Hi,


I am trying to learn windows api and message handling.




I had seen an example of custom task pnae in outlook and I tried to add a custom pane in instant search pane. But when I try to click the icon to expand/ collpase the search pane, it is not expanding / collapsing properly. It is responding properly only if I switch to some other app and come back to outlook, or if I debug it (so then also I switch from outlook to Visual studio to see breakpoints)




I subclasses the window and taking care of WM_SIZE message.


With spy++, when I see the messages, I am getting the WM_SIZE only after the switching to other app and comeback to outlook.




What message do I need to process or what should I do to make it expand/ collapse properly with a click on the icon?




Thanks in advance
 
K

Ken Slovak - [MVP - Outlook]

Hard to say without seeing your subclassing and windows messaging code, and

please don't post that here. Code like that is way too long to evaluate in a

newsgroup post.

Did you follow the example at

http://www.codeproject.com/KB/office/additional_panel_Outlook.aspx? If not,

what example did you follow?

All I can say is that all of my subclassing code in VB6 works OK without

having to switch to other apps and back, but I mostly use subclassing like

that to provide system tray icons that respond to mouse clicks.

"madhavi" <madhavi.4002hm@invalid> wrote in message

news:madhavi.4002hm@invalid...

> Hi,
> I am trying to learn windows api and message handling.

> I had seen an example of custom task pnae in outlook and I tried to add
> a custom pane in instant search pane. But when I try to click the icon
> to expand/ collpase the search pane, it is not expanding / collapsing
> properly. It is responding properly only if I switch to some other app
> and come back to outlook, or if I debug it (so then also I switch from
> outlook to Visual studio to see breakpoints)

> I subclasses the window and taking care of WM_SIZE message.
> With spy++, when I see the messages, I am getting the WM_SIZE only
> after the switching to other app and comeback to outlook.

> What message do I need to process or what should I do to make it
> expand/ collapse properly with a click on the icon?

> Thanks in advance

> > madhavi
> >
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A Clipboard Resize Issue Using Outlook 7
Diane Poremsky Move and Resize Office 365 Launcher Tiles Using Outlook 0
icacream Stopping Outlook to resize photos... Using Outlook 2
D Unable to resize image in email signature Using Outlook 4
M Outlook 2003 Plugin not receiving resize events Outlook VBA and Custom Forms 1
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 4
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 0
B Instant search with special characters Using Outlook 1
Diane Poremsky Rebuild Outlook's Instant Search Index Using Outlook 0
N "Instant Search" setting a default view Using Outlook 3
K Re: Use Instant search to find messages from a contact Outlook VBA and Custom Forms 6
R writing "Instant Search" queries to find User-Defined fields Using Outlook 0
G Outlook 2007 compound (OR) instant search break down Using Outlook 14
B Outlook 2013 instant search fields greyed out Using Outlook 3
L Outlook 2010 Instant Search Pops When I Click Using Outlook 6
S Instant Search in Outlook 2010 Using Outlook 32
S Outlook 2010 Terminalserver Cache Mode Instant Search Using Outlook 4
M How to provide instant search like feature in outlook 2003? Outlook VBA and Custom Forms 1
P Disable Instant Search in Outlook 2007 Outlook VBA and Custom Forms 9
H Search Email Header for Content Type Outlook VBA and Custom Forms 1
P Posts in Folder No Longer Group by Conversation Column After Search Using Outlook 0
O Advanced search - can I use booleans Using Outlook 3
Y Filter unread emails in a search folder vba help Outlook VBA and Custom Forms 0
M Reverting The Outlook Search Box Location (or other undesired additions) Using Outlook 1
M Something went wrong and your search couldn't be completed Using Outlook 1
M Disable Contact Card Results when using "Search People" in Outlook Ribbon Using Outlook 7
J outlook 2007 doesn't let me choose which .pst to search Using Outlook 2
P outlook 2008 search box criteria couldn't be saved Using Outlook 2
C Outlook with Office365 - search across account, by date rate, in multiple folders - how? Using Outlook 2
D Custom Search Folders not refreshing/updating automatically Using Outlook 0
L New Location for the Search Bar Using Outlook 6
T How can you include Junk Email in Search Results like you can include Deleted Items? Using Outlook 3
J Outlook 2016 After a search in all mailboxes, where is each message that was found? Using Outlook 6
King Mustard Sort search groups by amount of items? Using Outlook 1
V Outlook 2016 will not move emails in search results Using Outlook 4
T Search for incoming e-mails for a specified time range Using Outlook 1
S outlook 2007 calendar search Using Outlook 6
M Outlook macro to automate search and forward process Outlook VBA and Custom Forms 6
J Message search and edit, another way? Outlook VBA and Custom Forms 4
S Create A Search Folder That Looks For Message Class? Outlook VBA and Custom Forms 0
R Outlook for Mac - Advanced Search and Tracking Sent Emails Using Outlook 0
R Search/Jump to a folder by typing its name Outlook VBA and Custom Forms 1
M Sent mail not showing in Sent Items folder; but they can be found with Search Using Outlook 3
A Outlook 2019 having issues with 'people search' and not making suggestions in email To: etc Using Outlook 12
W Search Incomplete Outlook 2016 Using Outlook 5
A Using or not using apostrophes in search terms has this changed? Using Outlook 0
R outlook address book search broken Using Outlook 2
K Outlook.com is not showing, or finding via search, all my Contacts (People) Using Outlook 0
W Create Search Folder excluding Specific Email Addresses Using Outlook 5
R What's supposed to appear when just clicking into the search field? Using Outlook 7

Similar threads

Top