Make Dialog Go Beside The Main Window?
Nov 9, 2009i need to know how too make a dialog stay attached to the side off another window.
View 6 Repliesi need to know how too make a dialog stay attached to the side off another window.
View 6 RepliesA program I'm developing launches dialog boxes to get information from the user. Right now, the user can still click on and manipulate the main form while the dialog box is open. How can I make the main form inaccessible until the user closes the dialog box?
View 2 RepliesI'm a noobie coming from VBA. i thought i'd try my hand in VB (because this stuff is fun). I'm trying to make the main window for an application. i've created 2 forms so far. one entitled "Main" and the other "Form1". I would like for "Main" to be the main window of the application.
View 2 RepliesLet's say I make an application where the window (by default) is 1280x720, but the user is able to resize as How can I make the controls inside the application, resize according to the main window?
View 2 RepliesI have a VB.NET application that uses Managed DirectSound to capture audio.Everything works just fine until (a) the application is minimized or (b) the application is completey obstructed (covered) by another window.
The thing is that the CaptureBufferDescription structure does not include a GlobalFocus property so I don't know what to do to let my application continue capturing when the main window is hidden.
Here's the basic initialization code I'm using:
' Create a buffer description object
bufCapDesc = New CaptureBufferDescription()
With bufCapDesc
[code]....
I have create a project with one main form window and also i have to use a number of other forms as well. now i want to open these other forms inside the main window and not outside. I'm using Visual Studio .NET 2010 as developing environment.
View 1 Replieshow to retrieve microsoft access filenames from a particular folder on my computer? Within my project the user can create a database, and i want to be able to display all of these databases in a combo box?
View 8 RepliesI have application with 2 forms (Form1, Form2), when i click in a button in form1, form2 open.when form2 opened & I switch to other window and try to switch back to my application (By clicking in its icon in taskbar), it switch to form1.I need when form2 open & click in taskbar, it switch to form2 & also when form2 open I can't edit or type anything in form1.Exactly the same as the below scenario in windows:when I open any new window from "Windows Properties" (Right click my computer), and switch back to windows properties, it will switch to the new window not to the main Windows properties window
View 2 RepliesHow can I have the Main Form of my app mininized while a Dialog is stil open and avalable for resieving text from the user.
View 4 RepliesI'm building a simple Notepad where users can open CSS & HTML files & was wondering how I can program it to open the file in the main text box like the regular Windows Notepad does.
View 4 Repliessometimes (not everytimes), when I call the Me.Hide() in a form, which I called with .ShowDialog(), the main form, which called this dialog minimized.
View 2 RepliesI have a simple WPF vb.net application and wish to set the visibility property of some buttons on the main window to True when user successfully logs on
I have a MainWindow window with a frame hosting any number of pages and use the navigation service to load into this frame eg. Me.BodyFrame.Navigate(New System.Uri("Logon.xaml", UriKind.Relative)) One Page (logon) enables user to logon.
vb.net code:
Dim txtLocalLogonID = txtLogonID.Text
Dim pwdLocalPassword = pwdPassword.Password
Dim LocalLogon As New gblLogon()
[Code]....
How do I reload the main window? I realise the code is primitive but I just want to get it working first.
I have 3 questions: How to get the process which the main window is active How to change the WindowState of that process main window How to resize the process main window[URl]..
View 9 RepliesI created a modal dialog as a WPF window that changes some settings in the main window application. How can I refer to a member of the main window?
View 2 RepliesWhat I need to do is Set my new form to be the top most form of only my application while still having click access to the main form. Right now I have tried the property Topmost = True but the thing about that I really do not like is it puts the form above every single windows form. I only want the form to be the topmost of my application. The showdialog also will not work because I no longer have access to my main form with click events.
View 4 RepliesTrying to replicate the docking controls in Visual Studio 2008. My application replays the RADAR environment for the FAA and I want the ability for dual monitor users to drag the control panels to the other monotor to leave the main canvas clear. This functionality is similar to the way the different panels in VS can be dragged outside of the main window.
View 1 RepliesI would like to simulate the letter f to the main foreground window ,
View 1 RepliesHwnd = WindowFromPoint(Cursor.Position) I can get the Hwnd of every control of an external window is under the cursor. Question: I need only and always the MAIN WINDOW hwnd, everywhere should be the cursor. what API I need?
View 3 RepliesSo I know how to get a form inside a form.. I've got
Dim ch As New Settings
ch.TopLevel = False
ch.Visible = True
Me.Controls.Add(ch)
in my form_load.. The trouble is the window appears under all the controls on my main form.
1. How can I make it appear above the controls?
2. How can I make the form center in my main form?
I'm making an Install Manager and when you hit the install button a dialog is suppoed to come up saying that your installing and theres no way to track your installation and some other stuff but it only pops up after all the software is downloaded and while its installing. The finish button is supposed to show up when everything is completed that they checked off. Instead, the dialog pops up after it finishes downloading and while it's installing. It also shows the finish button before it's finished installing. Heres the necessary code
Dialog1.vb
Imports System.Windows.Forms
Public Class Package_Installation
[code].....
the code i have that interacts with e.graphics is
'clear area
e.Graphics.FillRectangle(Brushes.Black, 0, 0, 600, 800)
'draw sand
[code]....
here are the variable areas of my two classes, along with their new functions; assume that the get lines do what you think they do.
Public Class Sand
Private x As Integer
Private y As Integer
[code]....
I am having a difficulty in this login form that I have made. The same as the premade template login in VB 2008 which I am using right now.Here's what happens when I run the program Log in form open > Log in successful > Main window appears *The login form still does not disappear.
I tried hiding it via me.hide() Log in form open > log in successful > Main window appears > log in form disappear.*Now the problem is that I cant close the whole application because the login form is still there only hidden. Again I tried putting in the "EXIT" button the code me.close() login.close()Log in form open > log in successful > Main window appears > log in form disappears > Exit application *Now everything seems to be ok now and then I found another problem.Instead of clicking the exit button I tried clicking the X button on the main window. There I found out that it only closes the main window. Therefore not closing the whole application because the login form is still hidden.
i made an application in VB2010 where the application should be always on top above one specific window. Anyway i set the property of the main form to "topmost = true". The application is also writing some data to excel which is not a problem but the excel workbook is behind the main form which is on top. Is there any way to put the excel window on top above the main form?
View 1 RepliesI have set the Visibility property of the main window to Hidden and added the following in Window_Loaded:
private void Window_Loaded(object sender, RoutedEventArgs e){
this.Visibility = System.Windows.Visibility.Visible;
}
But it doesn't show up the Window.
I am working on a game launcher, and I need to display a "Splash screen" until the main game has started. For this, I need to know whether or not the Process has a Main window that is fully loaded and displayed.Now I noticed the main window handle is 0 when there is none, so I tried to use that:[code]But the handle never becomes nonzero. I tried to use the title but to no avail.I do not want to go into "Thread.wait()" since then the splash would remain even if the game is already launched.
View 4 RepliesWhy doesn't the main window in my application allow the user to resize?
View 3 RepliesError While Loading Dialog Window [code]...
View 7 RepliesI have a dialog window that I open from a record in a datagrid, this datagrid happens to be inside a Page that is navigated to inside a frame.
I have a button in this window, that when clicked, I would like to navigate the main window (which happens to be in a frame), to a different page that the datagrid is on.[code]...
I'm opening a new window as a dialog box via code.If I click on another application (let's say outlook) and then click on my project again in the task bar I get my main window and my dialog box is in the background and I can't get it back. What's wrong and how can I fix this?
View 2 RepliesWith opeOuvrirFichier
.Title = "Ouvrir un fichier..."
.InitialDirectory = "C:FilmEtJeu"
[code].....