msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Resize issue

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Programs Add-Ins
Author Message
umasgade



Joined: 31 Jan 2008
Posts: 3

PostPosted: Thu Jan 31, 2008 7:40 am    Post subject: Resize issue Reply with quote

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

Archived from group: microsoft>public>outlook>program_addins
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Can't resize coontacts list field at bottom I want to resize the Contacts list at the bottom of a contact form so more contaqcts can be visible at once. I resize in design mode, save, and then when I re-open the text box is resized to default. Is there anyway to overcome this problem?

Passport Issue I installed Vista the 1st time - Windows Mail worked fine. I had to change drives, installed it again, Windows Mail is not keeping the toolbar settings, the column settings, and I keep getting a pop-up telling me I can't sign into Passport right now, plea

VCard Issue After I redirected the user's home dir to different server becasue of the physical move to different office location, user complains that his outlook freezes up saying "Can't create file: xyz.vcf. Right click the fodler you wnat to crate the file in, then

Connector Issue I am working with Outlook 2003. Recently created a hotmail account and installed the connector to my Outlook. Worked flawlessly for weeks... I now get the message panel: Microsoft Outlook Connector/ I see my username with the password blank. I have en

Rules and Alerts Issue Hello, I've created a rule under Rules and Alerts to peramanently delete email if it contains "**SPAM** When an email satisfies the criteria stated above I receive an error message telling me "You don't have appropriate permission to perf
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Programs Add-Ins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group