dialog

Disposing a dialog in touch devices in lwuit

I am displaying a dialog when a user touches the screen and want the dialog to dispose when the user touches anywhere outside the dialog.i have set setDisposeWhenPointerOutOfBounds() to true though by default it is...n hav written the following code in pointerReleased() event but whenever the user touches the screen outside of dialog the...

Android: use a datepicker and timepicker from within a Dialog

Hello, I am facing a problem I do not know how to solve... I have an activity, when I click on a particuliar item of the menu linked to this activity, a dialog is displayed and used to add an item. This item has a date and a time, but I do not manage to have a DatePicker and TimePicker within this dialog. I also try passing the activity ...

jquery modal dialog onclick?

Hello. I want this: http://jqueryui.com/demos/dialog/#modal-message to happend when you click on ClickMe. how to do this? <script type="text/javascript"> $(document).ready(function() { $('div.thedialog').dialog({ autoOpen: false }) $('#thelink').click(function(){ $('div.thedialog').dialog('open'); }); } </script> </head> <body> ...

MFC Crash on repeated SetWindowText() when a background color for the dialog is specified

The following code works fine: for(int i=0; i<500; i++) { for(int j=0; j<100; j++) { m_title.SetWindowText(_T("lol")); } } But when I set a background color for the dialog: HBRUSH CTaggingDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { return CreateSolidBrush(RGB(0,0,0));//BLACK } The loop above cause...

jQuery modal plus drag and drop

I am using jQuery to build a magentic refrigerator game where you create sentences from the word bank. I have a list of 90+ words. I would like for the user to be able to open the word bank in a draggable modal and then drag each word from the modal to the main content div. The issue I am having is that I can only keep the words insid...

Display a warning when leaving the site, not just the page

This sounded like something almost impossible to do when it was presented to me. I know you can display a dialog box to confirm when leaving a web page. But is it possible to display a dialog box when leaving a site? I haven't been able to find/create anything that can read the address bar and know that you're leaving the site. ...

How to Communicate between dialogs?

hello friends, I am working on a small MFC application..since am new to MFC I am not familiar with all the user controls and classes...anyways my question is "how to communicate between 2 dialog windows"..Normally in C# there will be a panel so we can hide and hold the data's in the forms respectively,but I am not sure,how w...

Not able to communicate between dialogs by passing their object as Reference!

I want to communicate between two or more dialog windows,when i say communicate It means that I want to use the variables and functions in all dialog boxes with values updated.. So what I did is created three main Dialog boxes,Considering 1 dialog window as main window where it can have variables and functions and I created a pointer var...

Android custom dialog force close

I am implementing a custom dialog to form an about screen with a simple look and feel (which may become more complex once I get it working). I have a xml layout that loads some text and an icon from R. However when ever showDialog(int) is called I get a force close. I followed the instructions as per the dev guide: http://developer.a...

Strange jQueryUI dialog error

I have dialog created like this $('#add_error').click(function(e) { $('<div>') .load('/someaction/format/html/') .dialog({ title: 'Some title', modal: true, width: 385, close: function() { $(this).remove(); ...

Android - supress the native In Call Screen and replace with 3rd party?

Currently creating a VOIP application for Android and I was wondering is there any possible way to supress the In Call Dialog when sending a call over GSM and use our own 3rd party In Call Dialog or screen instead? At the minute when we switch from our VOIP call and send it over GSM via the ACTION_CALL intent it does everything we want ...

How to set Location of Message Dialog in java?

In java, message dialogs open in middle of the Frame window by default in java. I want open the message dialog in specified location. Is it possible.? ...

SYNCRHONOUS WebServices AND Modal Dialogs!

Hi again, the question is.... The application maybe in Silverligth. It's possible to implement SYNChonous WebService call? I try to realize any application RIA, with Grids, Edits and using WebServices in SL, but I do not understand how to make it's possible without a SYNC calls. And I also need to use MODAL DIALOGS for some tasks. I...

How do I show a scrollable list in jQuery Dialog?

How do I show a scrollable list in jQuery Dialog? ...

How do you create a waiting dialog in WIX?

Hi I'm trying to create a dialog to display whilst the installer is checking an SQL server exists. I've used the following code: <Control Id="Next" Type="PushButton" X="244" Y="243" Width="56" Height="17" Text="!(loc.WixUINext)"> <!--Show Waiting dialog--> <Publish Property="SQLServerChecked" Value="0">1</Publish> <Publis...

How to change theme for AlertDialog.

Hello everyone, I was wondering if someone could help me out. I am trying to create a custom AlertDialog. In order to do this, I added the following line of code in styles.xml @drawable/color_panel_background color_panel_background.9.png is located in drawable folder. This is also available in Android SDK res folder. The fo...

Why are not all texts of my MFC applicatiopn displayed using ClearType?

I've got an MFC application that is built with VC6. When ClearType is enabled (Windows XP) some texts are rendered smoothly, i.e. with ClearType, and others are not. Dialog texts don't seem to ever get rendered with ClearType. Some list controls, however, have it enabled completely, others only in their headers. What could be the reaso...

jQuery dialog box, php form.

i have a dialog box that opens on pageload for a site. script type="text/javascript"> $(function() { $('#dialog-message').dialog({ modal: 'true', width: '400' }); }); </script> this pulls up an include: <div id="dialog-message" title="Free Jiu Jitsu Session at Alliance"> <!--#include virtual="/inclu...

Change "cancel" text on dijit.Dialog close box?

Is there any possible way to change the "cancel" tool tip that pops up over the X box on a dijit.dialog? I just want it to read "close". I'm somewhat new to dojo. I expect this might be just a dumb question that has a really easy answer, but I am finding no examples. Thanks in advance. ...

JSP Modal Dialog

Hi, I need to get the file name (set path) in a text box. So, I need to POP UP the file browser window and then the file I select should be visible in the text box and send this value to the backend bean. How can I do this ? ...