Click here to Skip to main content
Page 1 of 5
Page Size: 10 · 25 · 50


Tag filtered by:  dialog [x]
Tip/Trick 27 Apr 2013   license: CPOL
This Tip/Trick discuss about hosting windows form user control in MFC dialog box and View windows
Question 25 Apr 2013   license: CPOL
Hello, I am using the free windows forms ribbon control Version 3.5.6.1 page here in a vb.net application.The form which i placed the ribbon control in is inherited from System.Windows.Forms.RibbonForm* Form Properties are set as follows:Me.FormBorderStyle =...
Tip/Trick 6 Apr 2013   license: CPOL
A tip about how to set the position of a Windows Forms MessageBox in C#
Question 28 Mar 2013   license: CPOL
I am trying to achive a ause functionality in javascript. I am making an asynchronous AJAX call and trying to achive synhronous functionality of AJAX. I want to pause the javascript until i receive the AJAX response for the asyn call of AJAX. Due to some reason i am not using the AJAX...
Answer 27 Mar 2013   license: CPOL
Hack fix: I used a timer to run my refresh code fractionally after the dialog opens. It's ugly as sin but it works. I don't have time to figure out Windows behaviour!
Article 17 Feb 2013   license: MIT
A web color picker which looks like the one in Microsoft Office 2010.
Answer 18 Dec 2012   license: CPOL
use the same Instance second time. do not create new instance each time you display the color dialog.If you want to clear the selection, call the selection method of ColorDialog.
Question 18 Dec 2012   license: CPOL
How to save mixed 16 colors? When i re-open the color dialog i have to repeat selections.
Answer 11 Dec 2012   license: CPOL
I had a similar problem that was somehow related to the Windows Colour Management. Please check this discussion[^] on how to set the correct Colour Profile (applies to Windows Photo Viewer, but will affect other programs as well)
Question 10 Dec 2012   license: CPOL
I have a dialog that updates a static control with a drawing thumbnail in OnInitDialog. This works fine on Windows XP but the initial update fails on Windows 7. Has something changed here? Once the dialog is displayed on Windows 7, any updates cause the thumbnail to redraw properly, but the...
Answer 30 Nov 2012   license: CPOL
Hi,This will help you-Working with different dialog controls in VB.NET[^]The Open File Dialogue Box[^]The SaveFileDialog Control[^]Font Dialog in VB.NET[^]The FolderBrowserDialog Control[^] and FolderBrowserDialog[^]The ColorDialog Control[^]and more help on controls refer More...
Question 30 Nov 2012   license: CPOL
Create a VB.NET application displaying the use of dialog control. Include all the five dialog controls like OpenFileDialog, SaveFileDialog, FolderBrowserDialog, FontDialog, ColorDialog.
Answer 30 Nov 2012   license: CPOL
check this for more dialog control http://fantasyaspnet.blogspot.in/2012/10/create-vbnet-application-displaying-use.html[^]
Question 19 Nov 2012   license: CPOL
Hi,I have an issue with setting window position of a Popup window behind a WS_CHILD property sheet. My application has controls bars, a WS_CHILD Style property sheet & a few modeless dialog boxes in a view. users works with multiple dialog boxes.I have a requirement that when a user does...
Answer 19 Nov 2012   license: CPOL
You should do something like this:var allOptions = options ? options : {}; allOptions.close = function () { {do something} }; jQuery('{selector}').dialog(allOptions);There is no need to overriding buttons. Add event handler for close.Also if you not doing...
Question 19 Nov 2012   license: CPOL
I want to close a jquery dialogbox without blocking the UI or reloading the page.On closing a jquery dialog like this:buttons: { "Close": function () { e.preventDefault(); $(".ui-dialog").remove(); ...
Question 18 Nov 2012   license: CPOL
I had a jquery dialog box in an MVC razor-view with a close button inside it. But on clicking the close button, the dialog just got hidden and not removed, so that when a click on any link on the page it doesnt work, which is not desired; noe do i want to redirect to my action method every time ...
Answer 23 Oct 2012   license: CPOL
The answer is yes, you can do that.There are many articles available on modeless dialogs.If the modal dialog is the parent, be sure and clean up the modeless dialog on destroy.
Question 22 Oct 2012   license: CPOL
(probably not directly possible).I have a MFC application (App), I open a modal dialog (MainDialog), so the application is not available for input (normal behaviour).Is it possible to open a child dialog (ChildDialog) of MainDialog that could be modeless to the application (effectively...
Answer 12 Oct 2012   license: CPOL
bool bAlreadyRunning;HANDLE hMutexOneInstance = ::CreateMutex( NULL, FALSE, _T("Your_Dialog_Name"));bAlreadyRunning = ( ::GetLastError() == ERROR_ALREADY_EXISTS || ::GetLastError() == ERROR_ACCESS_DENIED);if( !bAlreadyRunning ){ // Initialize Dialog and...
Answer 11 Oct 2012   license: CPOL
Use FindWindow() to get handle to your window. HWND hDlgExists = ::FindWindow(0,”MyDialogTitle”); // hDlgExists will be NULL if dlg is not exist.http://msdn.microsoft.com/en-us/library/windows/desktop/ms633499%28v=vs.85%29.aspx
Question 11 Oct 2012   license: CPOL
I have one issue regarding to the dialog box. I have one menu, after clicked on this a dialog is popped up. When I clicked again on the same menu without closing the last opened dialog an another instance of same dialog is opened. This happens till I close all the created instance of the dialog....
Answer 4 Oct 2012   license: CPOL
Make sure you've set the Style property to Child.
Question 3 Oct 2012   license: CPOL
Hello,I have an MFC view, and I have another project which implements and MFC dialog.I want to host the dialog in my view.My view is of class CFormView.I did it that way in my view code: m_myDialog->Create(myDialog::IDD, this);Now, I see my dialog, but I can't set focus on...
Answer 3 Oct 2012   license: CPOL
To embed controls into a view defined by a dialog template you can use a CDialogBar object. Then all notifications from the controls are send to the view and can be handled there.To do this with your project, change the type of your m_myDialog object to CDialogBar * and move all control...
Question 3 Oct 2012   license: CPOL
Hi,I am having issue after migrated from VC++ 6 to VC2010. Application is compiled but when I click open to open File using overriden CDialog class dialog hangs after loading halfway. I am not good C++ developer so having difficulty to find last issue.Immediate window returns only this...
Answer 2 Oct 2012   license: CPOL
DoModal is fine, trust me.Please post your code where your doing the initialization and then calling DoModal.
Answer 30 Aug 2012   license: CPOL
Hi, sounds like there is no easy solution. Perhaps this is something that can only be acheived using styles in later versions of Visual Studio. Thanks for the input. Sam
Answer 30 Aug 2012   license: CPOL
I am doing the exact same thing right now, I created a flat button class that draws png images (to make it look like a toolbar). I hooked up the buttons to the CmdUI handler and noticed some occasional strange behavior with the disabled state. I can post the button class here for you or email...
Question 29 Aug 2012   license: CPOL
I want to clean up the look of my dialog bar by having borderless buttons in my freeware app (www.noteliner.org). I'm using VC 2005. I tried ModifyStyle( 0, TBSTYLE_FLAT ) within the dialogbar OnCreate, and to remove the WS_BORDER style from the buttons but nothing seems to change.In VC2005...
Article 10 Aug 2012   license: CPOL
This article samples a MVVM conform implementation of startup and shutdown sequences for an application and its dialogs.
Answer 6 Aug 2012   license: CPOL
This issue may be marked as fixed.Currently i found out that the dialogs gets added continuesly at the end of the document between the and . By executing the command $("#dialog").remove() the issue is fixed.This is mainly happening in combination with ajax it seems.A ticket about...
Question 6 Aug 2012   license: CPOL
Hello,I'm currently working on a small project that makes use of JQuery and JQuery UI. I want to make a dialog that edits certain data in a table. The user double click on a row and the dialog popsup. This all works perfectly but when i click on a tagged link and go back to the page the...
Answer 25 Jul 2012   license: CPOL
Use can use the AJAX Modal Popup extender instead.http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx[^]
Question 25 Jul 2012   license: CPOL
Hi there,First of all, I know that modern browsers dont let us to hide address bar while opening a modal dialog but I wonder if there is a workaround to hide the address bar??? Please help this is so urgent...Thanks to all...
Answer 3 Jul 2012   license: CPOL
I'm not pretty sure what you're talking about here, but if you just want to display a modal (that is, the user can only interact with the dialog) dialog that has your main frame as a parent, it's really easy.What I like to do, is to derive a class from CDialog like this:class CMyDialog :...
Article 17 Jun 2012   license: CPOL
C# Forms RichTextEditor with custom hyperlink with Outlook address like text entities, custom popup listbox, and a screen tip.
Answer 12 Apr 2012   license: CPOL
I'm not sure that what you are asking is the best way to do what you want. I'd think if you don't actually want to show the CDialog, then you'd create the CSizingControlBar in some other parent window and use the handler there. In any case, to answer your question:If you don't want to...
Question 12 Apr 2012   license: CPOL
Hi!I create Cdialog which contain different handlers. On this Cdialog I create CSizingControlBar: resizable control bar(who can dragged outside Dailog) So, can I use Cdialog only as event handler and not to call .doModal() for him? In other words, I whant not to show Cdialog but his...
Question 11 Apr 2012   license: CPOL
How can I create current CDailog in class MainWnd: public CFrameWnd ?Can't you give an code exaple.Thanks.
Answer 1 Mar 2012   license: CPOL
you can use the SetWindowRgn API function for that.. (Also look layered windows for translucent backgrounds. may be interesting for you.)jkchanhttp://cgmath.blogspot.com
Answer 1 Mar 2012   license: CPOL
Yes you can make irregular dialog box with different skins.have a look at below linkhttp://www.codeguru.com/cpp/w-d/dislog/bitmapsimages/article.php/c4977[^]
Answer 1 Mar 2012   license: CPOL
The short answer is "No", as the standard for a dialog box is set in the Windows class used to create it. However, you could possibly use a standard Window of your own design and modify its shape by Window Skinning[^] to achieve what you want.
Question 1 Mar 2012   license: CPOL
If I want my dialog box in some new shape like triangle or circle or any arbitrary shape ( except square and rectangle) then is it possible or not? If yes then please send me whole code and if no then why no?And if above question's solution is not possible in MFC then is it possible in any...
Answer 23 Feb 2012   license: CPOL
Please read this[^] article. I hope it helps.
Answer 23 Feb 2012   license: CPOL
The CFileDialog does not open your file. It is used to select files. The button is labeled 'Open' when passing TRUE as first parameter (File Open dialog).When calling DoModal() of the file dialog, check the return value. If it is IDOK, get the file name by the GetPathName() member function...
Question 23 Feb 2012   license: CPOL
Hello to all,I am new to visual c++ MFC programming.And I want to make dialog based application in which if I press a button(suppose "read") one another dialog box is open and in its Edit box I will pass path of some file(suppose c:\code\project.txt) and when I press OPEN button I can show...
Answer 8 Feb 2012   license: CPOL
Dialog sizes in RC files are given in dialog base units, not pixels so if you are setting them dynamically you need to convert from dialog units to pixels as described here[^].

Page 1 of 5
1 2 3 4 5


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid