I'm trying to let the user select the file encoding when they load or save a file in C# and VS2008.
Notepad's dialog boxes have an encoding drop down option at the bottom.
There is a way to do it as described in here:
http://www.codeproject.com/KB/cs/getsavefilename.aspx.
However, I'm wondering if there is any easier way to do this.
Wi...
I'm creating a dialog with YAHOO.widget.Dialog. The dialog is fired off by clicking on a link, and the function the link uses specifies parameters that finally get added to a postdata option like so:
var myDialog = new YAHOO.widget.Dialog("myDialog", {
fixedcenter: true,
// postmethod: "form",
postdata: propString
});
...
Hi is it possible to create a Java Swing JDialog box (or an alternative Swing object type), that I can use to alert the user of a certain event and then automatically close the dialog after a delay; without the user having to close the dialog?
...
Hi all,
I'm looking to style a modal dialog (using UI Dialog) with unique CSS that is separate from the traditional dialog, so in essence to have two jQuery dialogs that each look different.
I've styled one, for example,
<div id="dialog_style1" class="dialog1 hidden">One content</div>
and another
<div id="dialog_style2" class="dialo...
Hi...
I made a very simple MFC application that call a Dialog when I click in a button, and send a MessageBox after 5 seconds.
The problem is, when I was in the second dialog and I dismiss the MessageBox from the parent (not click OK button of MessageBox. I click in a blank part of the second dialog) I cannot close this dialog (The sec...
does anyone know how to save a file image with previously
show a dialog to choose where the location is and input a name of the file?
thanks for your response, appreciate it
...
i am trying to replicate "DEMO 3" in this page:
http://www.mudaimemo.com/p/simpledialog/
it works great except that i am filling up the checkbox list dynamically and sometimes i have more checkboxes than fit on the page. is there anyway to make this scrollable so there is a max size as right now it just goes off the screen.
EDIT:
whe...
how do you launch a jquery dialog when you click on a link
this doesn't seem to work
<script type="text/javascript">
$(document).ready(function() {
$("a.To").click(function(e) {
e.preventDefault();
$("#dialog").dialog({height:300});
});
in the body:
<a href="#" id="To">To</a>
...
Hi All,
I am trying to use UI dialog to create a modal dialog.
The dialog workscorrectly, and all is well. I close the dialog using
the "X" in the corner.
I tried using dialog('destroy').remove(); , but then of course I can't
open it again.
I think I just don't understand how to reinitialize the dialog and do not have the old values...
Hi there,
I wonder, if there is a proper way to remove the default close button in the title bar and change it with other, to which I want to assign other function than Close. I manage to change the classes, but despite that, the close function seems to override to any in the titlebar.
My current code for changing classes:
var closeBu...
I'm trying to create an About box for my Windows C++ application. In Visual Studio 2008, I'm using the dialog editor to design the dialog. I want the About box to display the application's version in a static label.
I can hardcode the version into the dialog, stored in a .rc file, but then I'll have to remember to update the version in ...
I need to have a long descriptive dialog in part of my program and it display differently in mac and windows. On the mac in seems to word wraps the text and breaks it down into 3 or 4 lines but on the PC it just creates a really long dialog. Here is some code that shows my problems:
public class Test extends JFrame{
import javax.swin...
Hi All,
I am using jquery dialog box .It has a problem that it takes old values when i reopen a dialog.
Is there any way i can reopen a dialog without having the old values.
Can i use modal window instead of dialog?
Can anyone give me an example how can i use modal window.
Thanks
...
I am using an activity with the dialog theme set, and I want it to be full screen. I tried all sorts of things, even going through the WindowManager to expand the window to full width and height manually, but nothing works.
Apparently, a dialog window (or an activity with the dialog theme) will only expand according to its contents, but...
I have an MFC dialog containing a dozen or so buttons, radio buttons and readonly edit controls.
I'd like to know when the user hits Ctrl+V in that dialog, regardless of which control has the focus.
If this were C#, I could set the KeyPreview proprety and my form would receive all the keystrokes before the individual controls - but how...
Hi, I'm developing a WinForms app in VB.NET, that handles sets of style data, and when the user clicks on another set's label, it prompts through a dialog "You are leaving this style preset to edit another one. keep changes on this one? [Yes] [No]"
But, I'm facing the problem that, when the user clicks either option, and the dialog clos...
Hi All,
I have a query regarding jquery that i want to create a dialog open and then fill some values in it.
As i have tried to create a dialog using jquery it uses old values because that div already exists on that page.
So i want to create an object of the dialog using jquery and then fill fields in it.
I am using jsmarty and jquery t...
Hi All,
I have created a div using jquery that i want to make a dialog.
I want to append another div in that dialog before opening it.
How can i do that??
...
Hi,
Does anyone have the expertise to quickly figure out why jquery bgiframe's plugin is not working on this page? The code is basically the exact code from the dialog plugin demo page.
http://webdev.peelregion.ca/health/destinationparenthood/template.htm
Our site template seems to not play well and I am trying to determine what exact...
I'm buisy on a DirectX10 game engine and i'm having a problem which has nothing to do with DirectX :P The problem is that in the DLL which contains the engine sometimes a DialogBox is called, just like you would do in normal win32. With the only difference that instead of the HINSTANCE i use the HMODULE which i get when loading the DLL.
...