I want to make a WinForms with make it in Front of Many thing (in Windows 8, it in front of Start Screen, even make it can leave desktop while desktop Snapping).
for example, A Magnifier (magnify.exe) dialog in Windows 8 are top most than Start Screen.
It is Possible to make this Happen (In VB or C#)?
This Image is Example for what I ask for, so far I didn't find any SDK do this, and this image are edited (none of many application do this except magnifier (magnify.exe))
http://i.stack.imgur.com/1UxCX.png
alternative :
https://docs.google.com/uc?authuser=0&id=0B0xI21kQ3jxrLWw4cll6X3NJSTA&export=download
You can make the form modal by calling Form.ShowDialog()
Don't forget to set Form.DialogResult
accordingly on your modal form.
An easy example could be like the following:
Form f = new Form();
f.ShowDialog(this);
The other option is to set the form's TopMost
property to true.
Finally, you have the Modal
property which will block all other no modal forms from click or keyboard events.
But given that WinForms is a desktop app, you will be able to show it in the desktop of windows 8, but not the new Metro interface.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.