dialog

Need help adding scroll bar to edit box

I'm making an MFC dialog-based application in Visual C++ 2005. I added a scroll bar to an edit box. How do I program the scroll bar to make it work? ...

Why do my radio buttons not work?

I'm working on an MFC dialog application in Visual C++ 2005. My radio buttons are m_Small, m_Medium, and m_Large. None of them display what they are supposed to in my m_Summary edit box. What could be wrong? Here's my code. // Pizza_ProgramDlg.cpp : implementation file // #include "stdafx.h" #include "Pizza_Program.h" #include "Pi...

jQuery UI datepicker opens automatically within dialog

I have a datepicker which is used within the jQuery dialog object. The source of the dialog's content is loaded using .load(). Within the dialog I created a script which creates a datepicker for the text input. $("#date").datepicker({ ... }); When I open the dialog for the first time - everything is okay, but if I close it and reopen ...

asp.net file browser dialog box and Connection Interrupted

update - if I remove the runat="server" this does not happen...then how do I get the value of the dialog back to the code behind Scenario goes like this. I have this code on my page <input type="file" id="ID" runat="server" /> <asp:Button ID="btn" runat="server" Text="click me you chump" /> when I browse to a large file (200mb) and t...

BDS2006, C++: How to make own form template for creating dialogs?

When you create dialog in BDS IDE it's derived from TForm class and it's just an empty form. As our system has a GUI standard for how all forms should look like it would be nice to make a template and use it as a base for future dialogs instead of plain TForm. For example all our dialogs have our custom component with buttons aligned t...

Swing bind a dialog box to a Jbutton

i am trying to bind a new customer menu dialog box to a newCustomer button in my application , any ideas? thanks ...

Multiple Jquery modal Dialog Boxes in one page?

Hi, I am brand stinking new to jquery and attempting to have a "Services" page for a tech website I am working on. I am having trouble with different services opening the same info in the window. Basically I am using the code straight from the demo. Any ideas on how to have multiple windows in the same page? Thanks! ...

Suppress keystrokes to dialog

I have added a keyboard hook for a dialog that I don't control (it runs its own DialogProc Function in a library with closed source). I'm able to capture the key strokes, but the key stroke is always sent the dialog. This causes error beeps as well as some weird behavior. Installing the hook: hKeyHook=SetWindowsHookEx(WH_KEYBOARD, KeyH...

Conditional dialogs in Setup application in VS2008

I have added two dialogs to the install user interface. The first dialog prompts the user for the type of install (two radio buttons). Based on the answer it drives what components get installed (all working well), but I also want it to conditionally display the 2nd dialog based on the answer. I would have thought there would be a CO...

Setting the owner of a dialog box in WinForms and C#?

I have an EXE (app.exe) that calls a COM exposed method in a C# DLL (lib.dll). Lib.dll shows a dialog box. How do I make the dialog box (not a windows message box) recognize the app.exe as the owner, so that when app.exe is minimized, so is the dialog from lib.dll? The dialog cannot be modal. Is this a problem that can be solved with ...

Can JQuery UI Dialog remember its position between opening and closing

I have a JQuery dialog that I dynamically open and close. Everything is working fine except the position of the dialog is not remembered after it is closed and then reopened. The size is maintained but the position is not. I have tried hooking into the 'Open' event but it appears that the position is being reset by JQuery UI after I ma...

Is there a Form.Showdialog equivalent for Gtk# Windows?

Using Windows Forms or WPF I can open a dialog window by calling ShowDialog. How can I do that using Gtk#? I tried just making the Window modal, but although it prevents the user from interacting with the calling window it does not wait for the user to close the dialog before running the code after ShowAll(). ...

How can I control the location of a dialog when using ShowDialog to display it?

This is a very trivial problem but I can't seem to find a way of solving it. It's annoying me because I feel I should know the answer to this, but I'm either searching for the wrong terms or looking at the wrong methods and properties. I have a configuration dialog that's called from two places. The first is from the button on the form...

WPF Interop & Dialogs

I have an existing WinForms application for which I'm now designing new bits in WPF. Things are going reasonably well and I have run into my first need for a dialog. I'd like to do the dialog in WPF. It appears as though I'm going to need to do a UserControl for the actual content and then host that content via a WinForms form with an...

How to get a CView based Windows that do not contain title bar and status bar

I am writing MFC application, I choose CView based application other then Dialog based application. I don't know how to remove title bar and status bar, is there any method to do this? And made a CView based application just like dialog based application ? Many thanks! ...

Theming elements within a Jquery UI Dialog with CSS... how?

Since the old version was apparently way too hard for people to understand, here's the HTML, CSS, and JavaScript combined: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <title>test title</t...

MFC: BrowseForFolder Dialog box

I currently have a CFolderDialog class that is used in my CDocManagerEx class for handling file operations as follows: I don't know if I need to show the method implementation of this class (I found this from a project posted here, but here is the class definition if it helps: class CFolderDialog { friend static int CALLBACK Br...

Bug : Dojo Dialog + Flash in Firefox 3

i have a flash component on a dijit.Dialog.In Firefox 3, i cant click on the flash button.When i right click on the flash i get the tooltip(settings) far away from where i clicked.It's working on all other browsers. I had to update dojo from 1.1 to 1.3 for IE 8 issue.After updating i seem to get this problem.Before it worked fine in doj...

c# console application - prevent default exception dialog

I have simple application with single AppDomain which is periodicaly launched on a server. Sometimes unhandled exception occurs in the aplication and default abort/retry/ignore dialog pops up. I need to somehow prevent the edialog from showing and just output the exception on StrErr and close the application. So I enclosed all the code i...

How to detect an unmanaged app has aborted

I have a C# app which invokes an unmanaged C++ application via Process.Start() On some machines, if this C++ app aborts, I'm left with the Just-In-Time error dialog showing Is there a way from C# to detect that the C++ app has errored and just restart it (I don't have the source to and therefore can't modify the C++ app) ...