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
- :
- Captionless UI dialog
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
Aug 21, 2014
06:39 AM
Captionless UI dialog
Hello!
I've got a question related to the UI of installshield dialogs - is it possible to get the captionless dialog UI?
I've tried to remove the WM_CAPTION from the style in the UI designer, but it did not work.
What I would like to achieve is something like this:
Best regards,
Piotr
I've got a question related to the UI of installshield dialogs - is it possible to get the captionless dialog UI?
I've tried to remove the WM_CAPTION from the style in the UI designer, but it did not work.
What I would like to achieve is something like this:
Best regards,
Piotr
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 27, 2014
08:13 AM
I've found one way of removing the title bar: (Note this is a way for custom dialogs)
In the dialog's DLG_INIT handler in the dialog loop, add at the end.:
SetWindowLong( hwndDlg, GWL_STYLE, 0);
SetWindowPos( hwndDlg, 0, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOMOVE | SWP_NOREDRAW | SWP_NOSIZE | SWP_FRAMECHANGED | SWP_HIDEWINDOW );
First instruction removes the styles from the window.
Second causes dialog's cache to be cleared and actually applies new style to the dialog.
I hope this will help someone,
Best regards,
Piotr
In the dialog's DLG_INIT handler in the dialog loop, add at the end.:
SetWindowLong( hwndDlg, GWL_STYLE, 0);
SetWindowPos( hwndDlg, 0, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOMOVE | SWP_NOREDRAW | SWP_NOSIZE | SWP_FRAMECHANGED | SWP_HIDEWINDOW );
First instruction removes the styles from the window.
Second causes dialog's cache to be cleared and actually applies new style to the dialog.
I hope this will help someone,
Best regards,
Piotr