Questions tagged [mainwindow]
157 questions
0
votes
1 answer
Cocoa get main window
I want to create 3 windows like this:
NSWindow *win1 = [[NSWindow alloc] initWithContentRect:rect1
styleMask:uiStyle
backing:backingStoreStyle
…

Frank
- 11
- 2
0
votes
3 answers
Layout messed up on iPhone 5
I use MainWindow.xib for the layout of my app. I set everything on the view controller attributes simulated metrics to iPhone 3.5 retina. There is no image set for the iPhone 5 Default, yet it still tries to run the app full screen on an iPhone 5,…

user717452
- 33
- 14
- 73
- 149
0
votes
1 answer
C# : System.Windows.Application.Current.MainWindow doesn't return same value on other PC
In Visual Studio 2010, I have an Mdi application build with WPF. When calling Popup windows, I want to set the Owner with the current main window. So, we used the System.Windows.Application.Current.MainWindow property to set the Owner.
That works…

YaniKc
- 21
- 6
0
votes
2 answers
Checkbox at MainWindow that sets values to controls located on underlaying UserControls
In MainWindow class I have checkbox that controls property used by many objects like grids, listviews, etc in UserControls
than there is property defined,
public…

Jakub Pawlinski
- 442
- 3
- 16
0
votes
2 answers
NullReferenceException in Designer due to UserControl
So I'm trying to make an application with 2 user controls side by side, that slide left and right when you switch between them. The problem is, that one of my user controls (AddReferencePage), when added to the MainWindow, causes the opening tag on…

JosephGarrone
- 4,081
- 3
- 38
- 61
0
votes
3 answers
Joomla articles are opened in main page
There is a slide on my main page. When I click on articles which are shown in slide, the article is opened in same main page.
Everything remains the same and the article is shown in middle of everything. How can I fix this to show only article?
I'm…

user1652521
- 19
- 1
- 4
0
votes
1 answer
CheckBox UserControl Always Checked
I have a usercontrol called RateView.xaml.cs. This user control contains a checkbox called CheckBox1.
I put this user control on my MainWindow 5 times. I need three of the usercontrol's on the MainWindow to have the checkbox on from the start of the…

Ibrahiem Rafiq
- 73
- 2
- 6
- 16
0
votes
2 answers
Accidentally deleted mainWindow.xib
In My iPad app, I accidentally deleted the MainWindow.Xib, any solution?
Thank you

zak
- 39
- 1
- 4
0
votes
0 answers
Opening a dialog from QMainWindow
I have a problem with opening a small dialog window when I press a button from my MainWindow. I know how to make a window that I need to open (let's call it EDIT WINDOW), but calling (opening) it from Main form, and another module is a different…

ivica
- 1,388
- 1
- 22
- 38
0
votes
1 answer
Disable interaction with main window, while other window is open
I have a main window where all the work is done.
When i open the preference panel I would like to freeze the main windows as long as the preference panel is open.
For example iTunes: as soon as i open the preferences i just can interact with…

Schaltfehler
- 140
- 11
0
votes
1 answer
Show Addressbook with UISegmentController in Nevigationbar
TASK :
I want to show my all contact in one UItable and Which parts all contacts with UISegmentcontroller which is in Nevigationbar.
My Application is Tabbar Application so When I show my UISegmentController I have to add it in my Mainwindow xib…

Vivek2012
- 772
- 1
- 13
- 25
0
votes
2 answers
Two ViewControllers Orientation
I've come up with a strange scenario, I'm using one NavigationViewController and one ViewController (named- container) in my MainWindow.xib.
NavigationController loads subsequent views, and in parallel, the other ViewController (container) loads…

Naveed Abbas
- 1,157
- 1
- 14
- 37
-1
votes
3 answers
Getting an exception in "Dim mdi as new MDIParent1" in VB.NET
I'm getting an exception in this code:
Imports System.Windows.Forms
Imports System.Text
Imports System.Diagnostics
Public Class MDIParent1
Private Sub MDIParent1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

naveen sai
- 11
- 5
-1
votes
2 answers
Change QMainWindow layout programmatically in c++
I am using Creator to build main MainWindow and I populate it with all my widgets.
I do not set any MainWindow lay out in this stage (like "Lay out in a Grid" or "Lay out Horizontally".
When I launch the Application I want to dynamically change the…

Rick64
- 409
- 1
- 5
- 7
-1
votes
1 answer
WPF - Unable to shutdown application after adding splash window to the project
I am unable to shutdown my WPF application on closing the main window. Just facing this issue after adding new window (splash screen) to my project.
Below is the newly added code in App.xaml.cs
SplashScreen splash = new…

Alyesh
- 19
- 1
- 4