Is it possible to insert a TextBox for the user to input text on top of a MessageBox in Windows Phone 7?
Thanks.
No - it isn't
But the "Input Prompt" in http://coding4fun.codeplex.com/ might help you. See the overview at http://www.windowsphonegeek.com/articles/Coding4Fun-Toolkit-for-WP7-Overview-and-Getting-Started
I've used the "Input Prompt" for a situation similar to this and I had no problems. This should work as suggested by Stuart. Also Stuart is right that this is NOT possible at this time.
You might also want to check out Telerik controls, RadWindow for WP7 to be specific should address the problem nicely. Only thing is that these are commercial so you'll have to purchase a license.
But if you want to create your own from scratch I watched a video, "Creating a Custom Popup", on silverlight.net that can get you started nicely. Basically it gives you the "pop up" and you can add any other controls you need inside of it.
Bear in mind all these solutions can be styled and positioned to "imitate" the look and feel of a messagebox like you wanted. Hope this helps.
This is not possible in native MessageBox. You can try Coding4Fun library as mentioned before.
An alternative solution is the InputPrompt which can be found in Telerik library (you will have to pay for this one though).
Related
Is it possible to add a picture to a messagebox in C# besides the customized buttons?
or
How do I put the picture I want as a custom Icon?
It is not possible.
Instead you can use a Form to show the image. You message box will be just like any other form in your application.
It is useful to have such type of facility while coding with C#, but reality is it is not as relevant as we think.
a good practice is to use Forms instead of putting things in MessageBox.
Try it I hope it helps !!
I'm looking for a way to have a hyperlink that's inside my messagebox.show() be something the user can click on. Is it possible to build this behavior in if I subclass Messagebox?
EDIT: Tried to keep things simple, here is more detail.
This is not possible through the standard message box offered in wp7. The best way is to create your own message box. This is pretty simple, you can follow the example in my blog post. My blog does not explain adding a hyperlink, but this can be easily done by adding the hyperlink into the control and add another parameter to the Show method.
I am looking for a nice comment box, instead of creating something with textbox and a button. Windows live photos has a nice comment box under each photo, it is one line with a small triangle on left bottom , which makes it look like dialog box from comic books. It also has send button on the right inside the box so no additional buttons. How can I do something like this ?
It is not that easy to find ready-to-go templates for input controls, so why not create your own? You can start by reading this MSDN article. All you need is learn the basics of templating and then you'll be able to reproduce the style you want.
With VB6, I want to make a messagebox manually so that I could modify its format and style with my own... Can anyone give me a tutorial[website] for this?
Any tutorial on building a VB6.0 form will do. Google is your friend.
Try this one: http://www.vbforums.com/showthread.php?t=445165
Create a form as you would normally, when you open it, you open it modally, this is the only difference.
You can make your own procedures to open it with given parameters if you wish.
aerohn, I did kind of already answer this question in your previous question:
Modifying Messagebox?
Try some code for the new message box form, and if you run into problems with it then ask a question about those problems. It's pretty simple, though... just make a form, throw on a label, size and color it however you'd like, and create a button or two to close the form. From your recent previous questions it looks like you know how to make a decent looking form; I think you can do this pretty easily.
Good luck!
I really like how Things gives us ability to capture todos without switching to the app. How to do this? I can't find any relevant code with google. Any ideas, urls or maybe code snippets?
I learned about global hotkeys from the example on this website here.
I'm not familiar with Things, but it sounds like you're describing a Service. Services live in the application menu under Services.
TextEdit.app provides a "New Window Using Selection" service, for example.