SL5 out-of-browser app, controlling the containing window - silverlight-5.0

In SL5 you can create multiple windows. This package allows you to use a window modally, and not have it constrained by the parent window: http://slmultiwindow.codeplex.com/
Is there any way to control the containing window's background or opacity? I'd like to animate the appearance and disappearance of the modal window; while I can control the window content via storyboard, the containing window's white background sort of ruins the effect...
Any ideas would be appreciated for how to control the appearance of the containing window...

I Think You Should Try this Way..........
1 . Click On Sliverlight Project
2 . Select Properties option
3 . Select First tab option Like Silverlight
4 . Click On Out-Of-Browser setting Option
5 . Set the window size, window title or window position etc......

Related

Win32 dialog: How to add a window that was dynamically added to a dialog to the tab order?

I have a win32 dialog with a text label, a user box (which is going to be filled a control thats created on the fly) and two pushbuttons. The user box has the focus set to begin with.
Now, in the initdialog, when I create a new control and add it to the userbox rect on the dialog, I actually want the focus to be on the control first and then go to the two buttons on tabbing and then back to the control. I tried using SetWindowPos(hWnd,HWND_TOP,0,0,0,0,SWP_NOSIZE | SWP_NOMOVE); to achieve this. But no help. I tried calling SetFocus() on the new control. The, the focus is set on the control on init, but when tab is pressed it goes on to the buttons and doesn't come back to the control. The focus just shifts between the two pushbuttons.
Any idea how I can add this newly created control to the tab order ?

Tab Corrupted in Win32 (C++)

My application (C++, Visual Studio 2015) incorporates tab control. In most cases it behaves well.
Rarely, changing a tab results in corrupted interface.
Example:
Tab 1:
Tab 2:
Sometimes, when moving from Tab 1 to Tab 2 I get:
The arrow points on the problem area.
My code is very simple:
All tabs are implemented as dialog boxes
When the user click on a tab, all dialog boxes are hidden (ShowWindow)
Then the selected tad shows its dialog box.
This is cause by group box, it's background is not erased. Remove WS_CLIPCHILDREN flag from the parent of group box (child dialog or child window which owns the group box). Or subclass the group box control to paint its background.

Qt Ui Designer - creating window default frame and default buttons

when I create a window with the Ui Designer in QtCreator, most default templates give me a somewhat blank grey frame. There are options for adding more frames like that on the inside, but how do I add the default blue ribbon on the top with the window title, icon, minimize, maximize and close buttons? There is no option for that anywhere.
Generally, you don't - that's up to the operating system.
You can preview the window style with various skins in creator - select the skin under tools->options->designer->forms, check Print/Preview Configuration and there are various options for Style and device skins.
There are some options regarding window style under QMainWindow as well, for instance unifiedTitleAndToolBarOnMac, but it is best to leave the outer window to the OS.

Propertysheet Dialog box not dispaly propery in Windows 7

I have an application which has Propertysheet dialog box with PropertyPage and dialogbox has three button at the bottom.
PropertySheet and PropertyPage create using MFC CProperySheet and CpropertyPage.
Dialog box display fine in windows xp but in windows 7 its partially cut three button
Please Help me to resolve this problem
It's probably due to the font size being something other than default size (check the DPI in the Display properties). If you're manually sizing the property sheet you'll need to be aware that the dialog units will be multiplied by a factor to calculate the size for a given DPI.
Let me clarify:
Are you embedding property sheet in a dialog?
If yes:
Is there any reason to do so?
The buttons you mention belong to a dialog or property sheet?
Are you resizing property sheet?
If buttons belong to the dialog are they cut by the bottom of the dialog?
The best if you post a snapshot of the dialog from XP and 7.

Create a desktop widget (like Yahoo Widgets or Google Gadgets) with Qt 4

How do I create with Qt 4 a window that remains anchored to the desktop as a widget ?
(e.g. like Yahoo Widgets or Google Gadgets).
I intend to give the same characteristics of a widget to a normal window:
Remove the edges (easy to do)
The window must not move (how ?)
Must be displayed only when other windows are minimized (how ?)
I think setting these flags will do what you are looking for:
setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnBottomHint);
Remove the edges ---> Qt::FramelessWindowHint will remove the edges
The window must not move ---> (AFAIK) you can't move window when Qt::FramelessWindowHint flag is set
Must be displayed only when other windows are minimized ---> Qt::WindowStaysOnBottomHint will keep the application window below all other windows
I don't think Qt provides anything specific to do this. You will need to create and manage your own window but you can use QDesktopWidget to help.