This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Custom Dialogs 'X' - Not Working
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 11, 2008
11:31 AM
Custom Dialogs 'X' - Not Working
Hey there,
I've created several custom dialogs and I noticed the 'X' on the top right is not doing anything when clicked.
I stumbled over this thread and added the code in the switch block but it doesn't work.
http://community.installshield.com/showthread.php?t=180264
Any suggestions?
Thanks
I've created several custom dialogs and I noticed the 'X' on the top right is not doing anything when clicked.
I stumbled over this thread and added the code in the switch block but it doesn't work.
http://community.installshield.com/showthread.php?t=180264
Any suggestions?
Thanks
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 11, 2008
02:50 PM
Is this an InstallScript or InstallScript MSI project? Does this dialog code also encounter this issue in a sample project? Can you post the dialog code here or send it to me at joshs@acresso.com?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 14, 2008
02:14 PM
This is an InstallScript MSI Project.
This is not an issue when working with Standard Dialogs, only my custom ones. I added the code in the link that I found, but did not help.
This is not an issue when working with Standard Dialogs, only my custom ones. I added the code in the link that I found, but did not help.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 14, 2008
02:22 PM
Do your custom dialogs have a pushbutton control with "C" as the text and a control ID of 2? If not, can you try adding a pushbutton on the dialog that uses the following settings:
Control Identifier: 2
Text: C
Visible: False
With this and the code added to the default switch case in the dialog code, test the close button again.
Please let me know if this helps.
Control Identifier: 2
Text: C
Visible: False
With this and the code added to the default switch case in the dialog code, test the close button again.
Please let me know if this helps.
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 15, 2008
12:27 AM
Also, note that there is a complete custom dialog example provided in the dialog sampler, which source is shipped with the product. This source can be used as a working sample for comparison.
Checking this source, make sure that you have a handler for IDCANCEL (e.g.)
Also, as Josh S. indicated in a previous post you may need to add a special invisible control to make this work.
Devin Ellingson
Software Developer
Acresso Software
Checking this source, make sure that you have a handler for IDCANCEL (e.g.)
// Escape or System menu - Close
case IDCANCEL:
bDone = TRUE;
bExit = TRUE;
Also, as Josh S. indicated in a previous post you may need to add a special invisible control to make this work.
Devin Ellingson
Software Developer
Acresso Software