![]() |
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
|
|||
|
|||
![]()
My custom compose form have Message control on the left side & my
activex control on the right side (alongwith To, CC on the upper part). I have set "Resize with layout" property of Message control to unchecked. I want to resize my activex control to the width of inspector. So I tried to set "Resize with layout" property of my activex control to checked, but that didn't work. I have also tried code snippet from MS site, but it also failed. Code snippet for office 2007 is as follows - Dim olkCtrl As Outlook.OlkControl olkCtrl = CurrentInsp.ModifiedFormPages("Message").Controls( "IE1") olkCtrl.EnableAutoLayout = True olkCtrl.HorizontalLayout = Outlook.OlHorizontalLayout.olHorizontalLayoutGrow olkCtrl.VerticalLayout = Outlook.OlVerticalLayout.olVerticalLayoutGrow My aim is, my compose mail's Message control is of fixed size & I want to resize my activex control viz. IE1 to the height & width of form. I am using VSTO/ vb 2005 for office 2003 & 2007. I also tried the following code snippet in outlook 2003 with sp3 and it work fine but for outlook 2007,my message control shrink down. sub item_Write Item.GetInspector.ModifiedFormPages("Message").IE1 .LayoutFlags = 68 end sub Please help me. Thanks in advance |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Resize Issue in outlook | [email protected] | Outlook and VBA | 1 | February 1st 08 04:40 PM |
resize prompt | Dale | Outlook - General Queries | 0 | November 20th 07 07:17 PM |
resize prompt | Dale | Outlook - General Queries | 0 | November 20th 07 07:17 PM |
Custom Form resize issue | VB | Outlook - Using Forms | 0 | May 24th 06 08:34 PM |
Can't resize window | Brian | Outlook Express | 1 | April 15th 06 01:53 PM |