![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() 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 |
Ads |
#2
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instant Search Pane Problem in Office 2007 Outlook | zzMHUME | Outlook - General Queries | 2 | April 7th 09 04:37 PM |
Macro for Instant Search in new Window, failes Instant search (OL2 | Eylon | Outlook and VBA | 4 | February 5th 09 08:44 AM |
click here to enable instant search | exciter | Outlook - General Queries | 0 | February 4th 08 10:45 AM |
Get Rid Of "Click Here to enable Instant Search" via GPO or REGIST | suse | Outlook - Installation | 1 | July 27th 07 03:51 PM |