dialogbox

How do I create a class associated with a windows form in C#?

Now that C++ development has become second nature to me, do I have to start from scratch with C#? Since the beginning of Visual Studio, there has been easy way to describe the shape of a Dialog (now called a Form) in the resource file and then use a wizard to create the corresponding C++ code. I kind of remember that in MFC it was pret...

how to use JComboBox using Enum in Dialog Box

Hi, I define enums: enum itemType {First, Second, Third}; public class Item { private itemType enmItemType; ... } How do I use it inside Dialog box using JComboBox? Means, inside the dialog box, the user will have combo box with (First, Secon...

How to make an input dialogbox which has more than one textfield(ie. can take many inputs)

Hey there, I have implemented an input DialogBox, however this has one textfield. I need an input DialogBox which has many textfields to take input from and store each String in an array. What I have done so far: CODE import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax....

Why is the dialog size so small with this GWT DockLayoutPanel?

I've generated a new Web Application project using GWT 2.0.4. I replace the onModuleLoad() code with: public void onModuleLoad() { DockLayoutPanel dp = new DockLayoutPanel(Unit.EM); dp.addNorth(new Button("north search"), 4); dp.addSouth(new Button("Search"), 4); dp.addWest(new Button("west"), 4); dp.addEast(new But...

Is it correct/proper to use DialogBox as the main window ?

Is it correct-proper as in windows doesn't say it's bad or not recommended. For example like this: int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { UNREFERENCED_PARAMETER(hPrevInstance); UNREFERENCED_PAR...

Pass data from parent to dialog box

I have a combobox in a dialog box form. I need to fill this combo with the List<> from parent form. How to do that as I cannot pass the List<> via dialog box constructor. frmChild frm = new frmChild(); frm.ShowDialog(); ...

How to disable the back button when the alert box is on the screen

I used onKeyDown function in the activity.....but when back button button is clicked it first cancels the dialog box and goes to our activity...I want both either both activity and dialog box closed when clicking the back button or disable the back button when the dialog box is shown... can any one suggest any solutions for this.... Th...

gwt tabindex inside dialogbox

Hi, In my gwt app, on some screens, I create a dialogbox with an input form. I would like to be able to use the tabindex property but only within that dialog box. (ie: cycles first to last field of that dialog box only) Right now if I press tab when the last field is selected, the focus will move onto the first tab index that happens to ...

How to open a Win32 dialogbox from inside a VST plug-in?

How to open a Win32 dialogbox from inside a VST plug-in? Thanks for any help. ...

How to choose option in dialog box with VBA

I have made some code that makes powerpoint and excel work together. And I want excel to be invisible and not show up when the code runs. So I've set it like this: Set EXL = New Excel.Application EXL.Visible = False But my code creates a new xmlMap in excel and the whole procedure halts when a dialog box shows up. This is the dialog b...

Why does this dialog box close immediately after opening?

My issue is that I am trying to create a Opengl/Win32 application and I am unable to keep my dialog box open. It literally flashes as if someone pressed cancel on it RIGHT when it opened. I've looked around google and found a few others with this issue, but none of the solutions they posted have helped me, so I turn to the StackOverflow ...

Customising the DatePicker Dialog Android

I am using a DatePicker in a Dialog box to allow the user to chose a date. But I just want them to chose a month and a day. Is there any way I can make the year not show up? ...

win32 DialogBox app: how to make the dialog box hidden on startup?

I have a win32 app which uses DialogBox() to display its main window. I now want to start this app up with the dialog box invisible, and later set it visible with SetWindowPos(hDlg, HWND_TOPMOST, ... Unfortunately http://msdn.microsoft.com/en-us/library/ms645452(VS.85).aspx The function displays the dialog box (regardless of wh...