|
-
May 11th, 2005, 07:41 PM
#1
Thread Starter
Giants World Champs!!!!
Help with Homemade Outlook Control **Resolved**
A friend of mine gave me a great idea on how I can create my own Outlook Control (see attached Project) by using two (2) Command Buttons, one (1) Listview and one (1) Image List. I am having two problems with the control that I can seem to solve.
1) When both Command Buttons are on the top of the listview the first item in the Listview is partially hidden, so what I did was to add blank item as the first item which moves the items down so that they are not hidden but there is a large space between the Action Buttons and the Feature Buttons (see image).
2) The items in the listview are not center left to right, I have used the PictureAlignment to lvwCenter but to no avail. The only way I can get them centered is to reduce the width of the listview but I think there is a better way (please no sub classing).
any help will be greatly appreciated.
Last edited by Mark Gambo; May 12th, 2005 at 04:01 AM.
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
-
May 11th, 2005, 08:31 PM
#2
Re: Help with Homemade Outlook Control
You should see the code examples of Outlook controls over at vbaccelerator.com. Lots of good ideas to go by.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 11th, 2005, 08:45 PM
#3
Thread Starter
Giants World Champs!!!!
Last edited by Mark Gambo; May 11th, 2005 at 08:50 PM.
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
-
May 11th, 2005, 09:07 PM
#4
Thread Starter
Giants World Champs!!!!
Re: Help with Homemade Outlook Control
Attached is a copy of the control
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
-
May 11th, 2005, 09:18 PM
#5
Re: Help with Homemade Outlook Control
I havent heard that about pb's, but I think that listviews are more resource intense then pictureboxes depending
on the quanity of items added.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 11th, 2005, 10:03 PM
#6
Re: Help with Homemade Outlook Control
About all you can do to center the items is use the Listview1.Arrange = lvwAutoTop and keep the lvw narrow enough to make
it appear centered. Then place a shape behind the lvw of the same color as to give the appearance of a wider listview that is centered.
Will you be giving any dragdrop functionality? if not you need to disable that too.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 12th, 2005, 04:00 AM
#7
Thread Starter
Giants World Champs!!!!
Re: Help with Homemade Outlook Control
That is a great idea, I never thought of that.
Thanks
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|