![]() |
How to resize the instant search pane on click on the icon to expand/
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 http://forums.slipstick.com |
How to resize the instant search pane on click on the icon to expand/
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..._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. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "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 http://forums.slipstick.com |
All times are GMT +1. The time now is 12:31 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com