dialog

[C#] how to know the application is shutting down

There is a WPF application. i want to log when the application is closed. but i cannot modify the application (some restriction, just because business). So i create an invisible form component live inside the existing application, add as a dll library, so the existing application do not need to be modified. but the issue is, how can ...

how to display popup window in android??

dear friends, i want to display dialog/popup window of "are you sure you want to delete this entry" on click of button Delete if i press ok it should delete that entry other wise nothing.. i have written click listner of those buttons but dont know who to invoke dialog or pop and its functionality... any help would be appriciated. ...

DOJO Dialog Submit with weird results

I am having an issue with the following code. The execute function executes not on the submit of the form (there is a button being created) but before the dialog even appears. The flow of the program is simply you click on a button and the dialog is supposed to be created. Any help would be greatly appreciated. dojo.addOnLoad(function()...

UI Dialog Tooltip

Hello, I'm searching for a tooltips that should function within a UI dialog, but after searching and testing several tooltips (like cluetip) i have no succes.. :-s I've tested jquery Cluetip. This tooltip showed up when i mouve the mouseover a link/img, but the tooltip has showed BEHIND the ui dialog... ??? A z-index problem i guess. ...

How does visual studio associate mfc dialog classes with dialog resources?

Hello, I was wondering how visual studio associates mfc CDialog derived classes with their corresponding dialog resources. I'm not interested in how the connection is made at run time (as asked here), but rather at design time. When I add a message handler to a dialog, how does it know which class to add the handler to. Also, is it pos...

Android - How to display a dialog over a native screen?

I was wondering if anyone can tell if how to pop a dialog screen up over a native Android screen? I currently have an application that traps an outgoing call and stops it, I then want to pop up a dialog that would take over from the dialler screen and alert the user that there attempt to call has been blocked and allow them have some ne...

jQuery UI Dialog and Textarea Focus Issue

I'm working on a modal comment system using jQuery and jQuery UI, but I'm having some issues with focus. I have a series of divs inside the modal to switch between Login and Add comment, as below: <div id="modal" title="Loading"> <div id="modalContent"></div> <div id="modalLogin"> <div class="loginBox"></div> <div class="addComm...

Cwnd returnd Undefined Value

I want to use Setwindowpos() in global function to change the postiion of one dialog. So i coded like below CWnd *pWnd = (CWnd*)pMain->GetDlgItem(IDD_TOOLBAR_DIALOG);//GetActiveFrame (); pWnd->SetWindowPos(&CWnd::wndBottom,0,80,45,900,SWP_SHOWWINDOW); pWnd returns as undefined value. So i follow this method CToolTab * tab; tab = new ...

Destroying Dialogs

I want to create a jQuery dialog from HTML returned by an AJAX call. This works, but "destroying" the dialog doesn't remove the content from the div. What is the best way to completely remove the content? Dialog creation code $.get( 'mysite/dialogcontent', null, function(data) { $(data).dialog( { buttons: ...

jQuery UI - Dialog passing custom effect options to the dialog for show and hide

The Dialog widget in jQuery UI has a hide and show options that you can pass the name of effect you want it to run on show and hide events. some of the events have extra options like { direction: down } for drop or slide effects but I can not find a way to pass these options to the Dialog widget. do you know how to do this? ...

android dialog activity position

I created an non-maximized activity using android:theme="@android:style/Theme.Dialog" to make it looks like a dialog. I need to change the position of the activity on screen but I didn't find how to do this... ...

jQuery UI dialog - how to make it not closable?

Hi, I'm trying to use the jQuery dialog as a loading screen for ajax. I have it working very well so far but I'd like the loading screen to be not closable. However it seems the UI dialog doesn't have "closable" as an option? How do you make it non-closable? I tried setting closeText to blank but that didn't do anything. The little 'X' ...

jQuery ui dialog change title after load-callback

Hello, I like to change the title from an UI Dialog after i have submitted a form in this UI Dialog. So in the callback-function after load i should suggest, but i've tried and googled without result. Has anyone an idea? Thanks! ...

QDialog doesn't accept text input if modal

Strange bug with a Qt dialog ( Qt4.6/windows) If the dialog is started from MainWindow (from a toolbar/or menu action) and it is modal none of the text boxes will accept any edits. Other controls (drop down, buttons etc) all work. If I make the dialog non-modal, with show() rather than exec(), it works perfectly! Anyone come across a...

pygtk: find out focused element

Hi. i'm creating a dialog that finds out what is focused element. that's what i wrote: import gtk import gobject class FocusedElementPath(gtk.Dialog): def __init__(self, parent, title=None): gtk.Dialog.__init__(self, title or 'Show path', parent) self.catch_within = parent self.catch_focus = True ...

Add a button to the Dynamics AX About screen

Anyone have some sample code for adding a button (with a click method popping up a dialog) to the About screen in Dynamics AX? Thanks ...

jquery ui dialog - button click event handlers

I'm a js noob. I'm using the jquery FullCalendar plugin which exposes an eventClick(calEvent, jsEvent, view) event which is called when you click on an event on the calendar. In my event handler I want to pop up a dialog asking if the user wants to edit just one occurrence of a recurring event or the whole event. The problem is that the ...

Java/Swing: MVC and dialogs

Let's say I have some classes implementing interface Item and another class MyItemCatalog that implements interface ItemCatalog which contains a complex hierarchical database of Items that I want to give the user an opportunity to select interactively. What I would like to do is to have an ItemSelectionDialog which can be instantiated i...

Conformation dialog is put up for trusted application while reading from keychain.

Hi, I am developing a Mac OS X(desktop) application in which user can create many accounts. The passwords of these accounts are saved in the keychain. Each time the application is launched the password of each account is read from the keychain. But, when the new version of the application is launched, while reading the password, a dial...

Android - dialer icon gets placed in recently used apps after finish()

In my application I detect the out going call when a call is dialled from the dialer or contacts. This works fine and I then pop up a dialog saying I have detected the call and then the user presses a button to close the dialog which calls finish() on that activity. It all works fine except that when I then hold the home key to bring u...