I want to display a custom info bar in my outlook message.
Something like the screenshots here:
http://www.sendshield.com/product/solution.php#
I have seen outlook form regions, and I dont think its a form region. If it is, then I am in trouble, as the only way I think to do is, and I may be wrong, is to use Replace type, in which case I have to handle al the possible scenarios for an outlook email, which I dont want to.
Any pointers in the right direction will be appreciated.
Regards,
Never mind.
Check this article. Wealth of tips, on how to accomplish this.
http://www.codeproject.com/KB/office/additional_panel_Outlook.aspx
Needed some tweaks, obviously, and I was able to show my window in message window.
Thanks anyway.
Related
In my WPF-project im popping up an Microsoft.VisualBasic.Interaction.InputBox to get a filename from the user. If this filename is already in use im popping up a System.Windows.MessageBox to show the hint, that its already in use. After i hit OK on the MessageBox and it closed, i still see parts of the InputBox mixed up with some elements(a button) from my main programm.
Why does this happen?
Thanks in advance
You generally don't want to use any Windows.Forms based controls in a WPF application, it's just somehow against the point. You can easily create your own input box though, with the advantage of total control over behavior and style. This link stackoverflow describes your problem very nicely.
I need to create a window similar to this:
a window similar to the types of dialog boxes that have been included with windows vista.
but I could not find exactly the same dialog boxes. very similar - it's Credential dialog and Input dialog. In the first case there are differences in the UI, in the second - the number of input fields and the absence of label. How can I make exactly the same window? Sorry for bad English.
You want to create a dialog exactly like the first dialog you've shown, the one used by FluffyApp?
You'll have to create it yourself, by hand. It's not a standard Windows dialog; it's a custom dialog resource provided by the FluffyApp application. It's obviously modeled to look a lot like the standard Windows authentication dialog, which is a good idea—users are already familiar with the native UI and will find your application to be much easier to use if it strongly resembles what they're already accustomed to. I recommend that if you decide to create your own custom dialog that you follow Windows's example as well.
But it's not entirely clear why you need your dialog to look exactly like the one that FluffyApp uses. I'm not really even sure why FluffyApp needed to create a custom dialog! It seems like the standard Windows authentication dialog would be perfectly sufficient. They have the same number of input fields, the UI designers at Microsoft have just replaced labels with cue banners. Not anything to worry about.
Those are standard windows dialogs, but instead of letting the dialog manager draw the text, they use DrawThemeText to draw the text, using one of the themed elements (not sure what, because you have several examples). You can play around with the various parameters to DrawThemeText to come up with something that works.
So I have become aware that there is no simple way of adding a context menu (within the email message) to Outlook 2007, as there is no API for it. Does anyone know of any hack/hook that would be able to add functionality to the right click context menu WITHIN the message body?. Any other possible solutions would be greatly appreciated. Smart Tags are also deprecated, but a simple example of creating a smart tag library that can be installed via click once would also be appreciated (If such a thing can be done).
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/59e29895-7f5f-465e-bcb4-1082306207b2
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/996a438f-327b-4b73-b9a7-7bffd7b6fefb/
EDIT: I would also attempt to use smart tags, but the sdk link is broken for me. http://msdn.microsoft.com/en-us/ms123402.aspx
EDIT: If I get some more reputation I will add a bounty for this.
Apparently it is simply impossible, regardless of the hack.
It is possible if you memoryhack one of the existing items and call different function on click...but it will get waaay too hacky like that.
Is there any code for a nice notice box (Even a dll would be fine)
Like the one kaspersky antivirus shows? Because in my script I use a lot of
message box and the end-user start to complain that they need to click okay every time.
You can look at this exemple on CodeProject.
I suggest you create a custom control, which inherits from the message box and then you design it as per your liking.
Maybe not an actual answer to your question, but if you users complain about the number of message boxes they need to "click away" (like you mention yourself), are you perhaps using them too much or for the wrong reasons?
Perhaps other ways of showing messages are more approriate in some cases, like a status bar, a dialog with a message log, or different way of structuring dialogs/workflows in your application?
I am trying to create a winForms user control. But I want would like a User control that - when placed on the form -- doesn't take any form space. Instead, it lodges itself nicely below like OpenFileDialog does.
First, what kind of user-created thing is this? Is it still called a "user control"? If not, that may explain why all of my searches are in vain. Secondly, what object do I need to start with to create something like this?
A gentle shove in the right direction would be VERY appreciated.
Thanks.
--Jerry
Controls that appear in the "component tray", like the Windows Forms Timer control, inherit from Component.
To create one with some automatic boilerplate code, right-click on a project and click Add... | Component
I believe you're talking about creating a Component.
Okay... I KNEW that... I feel an inch tall now.
I would love to retract the question and hide my stupidity, but I think I'll leave it up for everyone else who may be asking the same question and just need a gentle reminder, too.
Thanks for the whack on the noggin!!