سؤال

I am working with metro and I am trying to make a flyout window. I have found a class called CoreWindowFlyout, but it cannot be used for creating flyouts with other controls than buttons.

Does someone know how to do this in C++?

هل كانت مفيدة؟

المحلول

If you are using XAML in combination with your C++ application you'll want to look at using the Popup class. In the developer preview the "light dismiss" capability isn't built-in so you will have to manage that on your own, but it will eventually have light dismiss capabilities, so using that will get you along the right path.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top