![]() |
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 have a CTP that contains my WPF control. When the CTP is resized by the user, my control is not notified on the size changes. Any ideas? |
Ads |
#2
|
|||
|
|||
![]()
If you cast the ContentControl of the CTP to a forms Control object does it
cause an exception? If not then you might be able to do that and subscribe to the SizeChanged() event. If that doesn't work then you might just have to use a hack of finding your CTP as a window using a Win32 API call and then hook to any message sent to that window. Then you can look for a resize message sent to the window and respond accordingly. -- 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 "danny" wrote in message ... Hi, I have a CTP that contains my WPF control. When the CTP is resized by the user, my control is not notified on the size changes. Any ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2007 taskpad columns disappear when resized | Charles Calvert | Outlook - Calandaring | 1 | March 29th 11 10:00 PM |
Duplicate CustomTaskPane Windows - Help! | Paulem0071 | Add-ins for Outlook | 1 | September 11th 08 07:22 PM |
Are the assigned contacts notified of the an update to a task? | NTF | Outlook - Using Contacts | 0 | July 19th 06 03:46 PM |
Add controls with out publishing in C# | lg | Add-ins for Outlook | 12 | July 13th 06 02:49 PM |
Using MFC controls in Outlook Add-in (ATL/C++) | Kim, KiSong | Add-ins for Outlook | 0 | March 7th 06 07:03 AM |