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
 
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
O How to prevent image resize when pasting Using Outlook 2
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
M Search message, then (1) Jump to folder & (2) Select message that you searched for Outlook VBA and Custom Forms 7
G Search Folders and Jump to Folder Outlook VBA and Custom Forms 2
A 'search people' now asks me to 'press enter' Using Outlook 11
A Relocate Search Bar in Outlook Using Outlook 2
A Search folder and move the email Outlook VBA and Custom Forms 0
farrissf Outlook 2016 Optimizing Email Searches in Outlook 2016: Seeking Insights on Quick Search vs Advanced Search Features Using Outlook 0
C Advanced search terms for "Outlook Data File" Using Outlook 1
T How to find or display the sub-folder name for an Archive Search Using Outlook 10
P Search folder: all emails sent to or from a domain Using Outlook 1
T Outlook365 search item listed as "potential matches" can't be opened Using Outlook 0
Victor_50 Outlook 2019 Jump to folder from search folder Outlook VBA and Custom Forms 0
E Outlook 365 Save Selected Email Message as .msg File - oMail.Delete not working when SEARCH Outlook VBA and Custom Forms 0
Witzker Outlook 2019 Macro GoTo user defined search folder Outlook VBA and Custom Forms 6
J Outlook search bar in Office 2021 Professional Using Outlook 1
T Outlook 365 Search Box reverting to old location Using Outlook 2
P Outlook 2013 search no longer works Using Outlook 2
C How to search for items in Outbox with multiple accounts? Using Outlook 20
J search doesn't find anything Using Outlook 1
kkqq1122 How would I add Search for attachment name Outlook VBA and Custom Forms 3
A Any way to force sort by/group by on search results with VBA? Outlook VBA and Custom Forms 1
B Search and Find Email by Folder Name Outlook VBA and Custom Forms 2
C Search not accurate, but not indexing Using Outlook 9
J How do you disable address search box when typing @ in body of email? Using Outlook 0
H Outlook 2019 intermittent search results Using Outlook 0
D Create advanced search (email) via VBA with LONG QUERY (>1024 char) Outlook VBA and Custom Forms 2
D Advanced e-Mail search on from/to contact group only searches for first 20 contacts in group Using Outlook 0
mll persistently customise columns in outlook advanced search Using Outlook 3
S vba outlook search string with special characters Outlook VBA and Custom Forms 1
S VBA search string with special characters Outlook VBA and Custom Forms 1
H Search Email Header for Content Type Outlook VBA and Custom Forms 1

Similar threads

Back
Top