How to create a dialog box or control bar , it always pop at the top of all the programs?

StackOverflow https://stackoverflow.com/questions/9147535

  •  22-04-2021
  •  | 
  •  

Вопрос

Is there a way to create a dialog box or control bar, it always on top of all the programs,like the volume setting control bar that you press the volume hard key ? I want to do a wp7 program to simulate the hard key,using c# . Thank you for your help!

Это было полезно?

Решение

The security model of Windows Phone 7 replaces various restrictions on what your application can do. One of these restrictions is that only one application can be running at any one point in time. This means it is not possible to run your applications 'above' others. Features such as the volume control pop-up are part of the WP7 OS and have not been created using the Silverlight framework that we, as developers, have access to.

Другие советы

You can set the "TopMost" property to True

form.TopMost = true;
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top