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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: How to disable close button?
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
Dec 28, 2010
04:10 AM
How to disable close button?
Hi.
I have made a project.
and I wan't to disable the close button.
Anyone who can tell me is it possible to do this?
Thank u.
I have made a project.
and I wan't to disable the close button
Anyone who can tell me is it possible to do this?
Thank u.
4 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 28, 2010
05:49 AM
I'm not sure this is possible. But why would you like to do that in the first place?!? End-users should be allowed to close the installer if they changed their mind.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 28, 2010
06:38 PM
yes,you are right.
but sometimes, when i click the 「×」 button while it's installing,the link of uninstallation will disappear.
but sometimes, when i click the 「×」 button while it's installing,the link of uninstallation will disappear.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 29, 2010
04:51 AM
Well, this is quite normal, as the Uninstallation can be created only when ALL items have been installed (so IA would know how to proceed with Uninstalling those components in the reverse order). So if you click close BEFORE the end, the Uninstall doesn't get a chance to be created (or just the link to it).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 27, 2011
03:33 AM
Hi,
Please try the following. This is working on a custom dialog.
#define DIALOG_NAME_1 "ShowMsg"
HWND hWindow;
LONG lstyle;
hWindow = CmdGetHwndDlg(DIALOG_NAME_1);
lstyle = GetWindowLong(hWindow,GWL_STYLE);
lstyle &= ~0x00080000L;
SetWindowLong(hWindow ,GWL_STYLE,lstyle);
Please try the following. This is working on a custom dialog.
#define DIALOG_NAME_1 "ShowMsg"
HWND hWindow;
LONG lstyle;
hWindow = CmdGetHwndDlg(DIALOG_NAME_1);
lstyle = GetWindowLong(hWindow,GWL_STYLE);
lstyle &= ~0x00080000L;
SetWindowLong(hWindow ,GWL_STYLE,lstyle);
