Windows Universal App Message Dialog with Progress Bar - xaml

I have a progress bar user control that I would like to act like a MessageDialog so that it blocks the screen until the progress bar is 100%. Does anyone have a suggested way of doing this or a good example? Thanks!

I ended up using the Callisto library with the Custom Dialog that mimics the MessageDialog behavior. Here is an example/reference: https://github.com/timheuer/callisto/wiki/CustomDialog

As far as I can understand you are using UWP (Windows 10), then you can use ContentDialog. You can put any content in it, including the progress bar.

Related

Safari-style tabs Cocoa control?

I'm referring to the Safari 8's tabbar control (which looks almost exactly the same with Xcode 6's tabbar + the horizontal scrolling, if I'm not mistaken)
Is it available somewhere? How do I proceed?
P.S.: If the answer is something along the lines of "It's a custom control. But you can do it very easily by subclassing... everything there is to subclass", I'm prepared for it! lol
It is a custom control: ScrollableTabBarView. You can inspect it using F-Script
The closest visual match is the Yosemite style of MMTabBarView. This control however does not implement scrolling.
Also check out LITabControl and KPCTabsControl
It is just a Segmented / Tab bar with customized Radio buttons with added NSButton(this is for closing the tab).
You could check this using Accessibility Inspector.
And there is no straightforward control to achieve this, as you mentioned in P.S., you should go with customizing the controls.

Graphics.CopyFromScreen just my app window

I am using copyfromscreen to show a modal please wait message.
It works great but i find it failing when I'm doing alt tab to the app or I'm looking to another app and come back to my application.
Original post I got the idea from:
Javascript Like Modal Window for WinForms
I was curious if there is a function that would let me get screen capture of my app only even when its hidden in the background.
Control.DrawToBitmap Cody Gray suggestion actually works. Just grab the forms bitmap instead of doing full screen grab.

What event is rised when changing between two BorderContainers using TabBar component?

I am developing Adobe Air desktop application using Apache Flex 4.9.1 SDK.
I am using a TabBar control in order to go through different windows. For a window I am using a BorderContainer control.
My question is:
Is there any event raised(in the BorderContainer control not in the TabBAr control) when you change from one window to another using the tabs. The event in TabBar is "change", but I need to capture this moment in the BorderContainer. I have tried "FocusOut", "Hide", "Deactive" events, but they are not raised. So does anybody knows what is happening in the BorderContainer when the tab is changed?
Thank you in advance!
Use the change event on the tab bar ..

How to catch scrolling events in wxGTK?

I have a wxTextCtrl with a vertical scrollbar. I need to capture scroll events from the text control's scrollbar. I have a handler for EVT_SCROLL but it only gets invoked on the Windows build. On wxGTK it does nothing. Is there any way to make this work?
No, EVT_SCROLL, like many other events, only works for wxWidgets windows and not the native ones.
You can use wxRichTextCtrl or wxStyledTextCtrl but you probably won't find any way to be notified about scrolling in the native GTK+ text widget.

Is it possible to display a modal window in SCSF application at the center of the screen

In SCSF application I would like to display a view as a modal window at the center of the screen. Is it possible to do that?
WindowSmartPartInfo doesn't have any option for setting screen postion.
Thanks.
Assuming you're talking about Winforms, not WPF since the WPF layer for CAB does expose this option. In winforms there is no option in the WindowSmartPartInfo to do this. However, you could extend it and extend WindowWorkspace to use your new SmartPartInfo (override the OnApplySmartPartInfo method).
Before you do this, you might want to check the contrib and community sites to see if anyone has already done it. I think I've seen one somewhere.