cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
7204570676
Level 2

How to remove Title bar and borders of all Dialog

How to remove the title bar & borders of installshield dialogs, im using IS 2010, i have seen some packages (setup.exe like sony pc suite) are using dialogs without any title bar & border. Please provide the way to solve above issue.

Thanks in advance.
ravi kumar
Labels (1)
0 Kudos

(8) Replies
KEiGHT
Level 6

And the progress bar ex: 98% ... why are not available in versions like 2009 or later versions?
0 Kudos
KEiGHT
Level 6

7204570676 wrote:
How to remove the title bar & borders of installshield dialogs, im using IS 2010, i have seen some packages (setup.exe like sony pc suite) are using dialogs without any title bar & border. Please provide the way to solve above issue.

Thanks in advance.
ravi kumar



//===================================================
// TODO: Perform custom initialization steps, check requirements, etc.
//===================================================

function OnBegin()

begin

// Set the product name to substitute for the %P place holder.
IFX_SETUP_TITLE = "YourProductNameHere";

end;

or on String Editor add this string :

IFX_SETUP_TITLE // name the title(value) as you wish 🙂
0 Kudos
lostboyz
Level 4

Is there a way to achieve this? I don't want the title bar or border for my dialogs.


0 Kudos
spothuri
Level 3

Hello Ravi,

I too have a same requirement to remove title bar and borders from the dialogs.

Did you find any workaround for this?

Thanks in advance!

 

0 Kudos

Hi @spothuri,

 

See the the below link to remove the title bar from the Installscript dialog.

https://community.flexera.com/t5/InstallShield-Forum/Captionless-UI-dialog/td-p/53926 

Hope this link helps you.

0 Kudos

Hello @banna_k ,

It's worked for me.

Thank you so much for your quick response.

 

0 Kudos

Hello @banna_k ,

I'm able to remove title bar and borders from all the screens but unable to remove for setup progress dialog as It is not in the list of dialog boxes under the folder "USER INTERFACE | Dialogs.

Could you please help me with this, where can I find the Setup Progress dialog initialization script code?

Thank you.

0 Kudos

Hi @spothuri ,

Can you try below code in "function OnFirstUIBefore()"  after the  Enable(STATUSEX); statement at the end of this function.

 

Enable(STATUSEX);


hwndDlg = CmdGetHwndDlg("ProgressDlg");
nStyle = GetWindowLong(hwndDlg, GWL_STYLE);
nStyle = (nStyle & ~0x00C00000L);
SetWindowLong(hwndDlg, GWL_STYLE, nStyle );

 

Declare the variables also in the starting of the function:

NUMBER  nStyle;
HWND hwndDlg;

 

 

As well try the same change for the "function OnMaintUIBefore()" function also to reflect the change during maintenance.