im developing a custom form and i need to put a button right next to the minimize button. Anyone know how to do it?
P/Invoke would be the way forward there I would say, check out this link on msdn http://social.msdn.microsoft.com/forums/en-US/winforms/thread/485fb4c5-8430-4cb5-8a4d-ccd7892e403b.
That should get you on your way.
Cheers,
Kevin
Related
I'm trying to create a webapplication using react-360. Until now it seemed to be working just fine. But is there a possibility, that the 360-view only opens on a click and not on init? I want to have a menu where the user can choose to start the 360-tour.
Thanks in advance!
this may be what your looking for.
WebVr Polyfil
Implementing this library will allow you to toggle between VR mode and a normal view. Check the following example that I've done (taken from my Udemy course). You have to view it on mobile for it to work.
Example
If this isn't what you're going for, perhaps you're looking for something like this:
HouseTourVR
This is a project that I made that has a welcome index.html and with the click of the enter button takes me to the 360 tour. Hope this is what you're looking for.
I'm looking for a way to draw an overlay. I want to create a small popup box in the bottom right corner to notify the user. I'm not sure what they are called, but I guess it's kinda like an overlay? I guess the easiest way to do this for me is in the winapi, but I'm not sure how. Anyone has a link I can read with more info, or maybe even code samples? Even the name of these notifications boxes would help so I can google better.
Thanks
don't know if it might help but you can try with sprite layers
http://msdn.microsoft.com/en-us/library/bb194908.aspx
I think these notifications are simply small windows with the WS_EX_TOPMOST style and an effect such as those provided by AnimateWindow().
Or if you don't want to do that much customization, maybe you can settle for a balloon tip from classic notification icons.
I am working on a WPF-MVVM (.Net 4.0) application that has a Metro look (it just has a look, it is not a metro application.)
I need to show a windows 8 like message box that blocks the operations for the user before he rids that message box by clicking yes/no/cancel (or any button.).
I came across this otherwise great article and momentarily thought that I have found the solution. But this has its own drawback.It just stops the user from interacting with the controls behind by mouse clicks. The user can however use the tab key to get back to the buttons behind and click them (pressing enter).
A number of things are coming to my mind:
should I go for custom adorners and play with hitTestable property?
Or should I place a control and play with its visible property.
Before going for any approach I thought of putting forward my question to the wonderful community here if someone has done a similar thing in past and provide me some pointer/reference/approach.
Can someone suggest what is the way to achieve this? Please note I will be happy to use prism or any other open source if that solves the purpose but the window will have to be custom made.
Please excuse me if you find this too stupid a question. Please pardon my ignorance. Thanks for reading this.
I recently came across a similar problem, I resolved it using a DialogPresenter as explained there:
http://www.codeproject.com/Articles/36516/WPF-Modal-Dialog
I had to do a few tweaks there and there but overall it's working fine and I now have a nice way to display dialog boxes!
There is a better way of doing it
var dialog = new MessageDialog("Select Social network is already authorised!");
dialog.ShowAsync();
What is the difference between "Window" and "page" in silverlight? If I want to embed a page/ window inside another page/ window. How can I do that? For example, when an "Expand" button is clicked, if I dont want it to link to a totally new page, instead, I just want it to show a form embedded in the page / window.
Thanks :)
The simplest solution to this question would be to handle the click event and set the visibility property on the elements you want to show/hide in the event handler.
The link that #Robert provided is about "navigation" in silverlight, you can achieve your end goal using it and if you're planing a large application i'd say it's definately something you should look at but it'is a fairly complex subject.
Depending on your current level of silverlight knowledge and the scale of what you're trying to achieve with your silverlight application it might or might be better to take the simpler button click approach.
Take a look at this article. I think it will help you achive what you're trying to do.
http://jesseliberty.com/2008/05/31/multi-page-applications-in-silverlight/
Am very much new to this MVVM DESIGN PATTERN.Am doing a small project in this pattern
In my project i have a button,if i click on that button it will create a new button at run time and we can create any number of buttons there.
Creating mutliple buttons is working and now am trying to move that controls at runtime where ever we want in the same window only.
I implemented some methods and now controls are moving with my mouse point as i want but now what is the problem is::
if one button is created it is moving fine when the second button is created
then it is coming attached to the first button now both the buttons are moving together and third and so on..
i cant able to understand whats happening over there?
Can Any one help me plz ??
Thanks In Advance
i dont know how to post code over here
if anyone give me your mail id then i wil send whole project to them
ThanQ Once Again
You might be interested in Laurent Bugnion's "Understanding the Model-View-ViewModel Pattern" session at MIX10 http://channel9.msdn.com/Events/MIX/MIX10/EX14