Windows Acrylic (VistaGlass) UI issue with CheckListBox

Got a problem you cannot solve? Try here.
barbeauj
Posts: 1
Joined: Tue Sep 07, 2021 11:19 am

Windows Acrylic (VistaGlass) UI issue with CheckListBox

Postby barbeauj » Tue Sep 14, 2021 8:32 am

I am trying to implement a feature selection UI using the style of Windows Acrylic (through the VistaGlass dialog item with all proper settings to enable Acrylic) and a CheckListBox.

Using a TreeView dialog component that receives its information from Component List, I can implement this properly with no UI problem, but since I only have independent/top-level features in the component list, I have no need for a full TreeView since no common parent to the features can be selected, are any children nodes displayed.

To simplify the UI to what I needed, I changed my dialog to use a CheckListBox to display the Component List, but there seems to be a problem when using those when using the Windows Acrylic theme (ie: VistaGlass' GlassEnabled and SheetOfGlass properties are set to True and the form's borderStyle set to bsNone).

The problem is that when checking or clicking on multiple items in the CheckListBox will ultimately result in the white background of the CheckListBox to suddenly become black, with some glitchy looking specks of white around the checkboxes themselves.

This problem can be easily reproduced by creating a New Project using the wizard and selecting the Acrylic theme. Then, we simply need to change the componentstree form to use a CheckListBox instead of a Treeview.

Screenshot:
acrylic_checklistbox.png
acrylic_checklistbox.png (96.05 KiB) Viewed 2406 times


Setting the VistaGlass object's SheetOfGlass property to False will prevent this issue from occuring and the checkListBox will work without any glitches -- but unfortunately, this means that the Acrylic theme is also gone.

Has anyone found a way to work around this issue? Using a Treeview with its "Disable/Enable feature on this computer/Enable feature on all computers" multiple options is really overkill for the UI I am trying to build, which only needs the user to specify which independant features need to be installed.

Cheers!

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Windows Acrylic (VistaGlass) UI issue with CheckListBox

Postby FrancescoT » Wed Sep 15, 2021 1:31 pm

I suppose this is due a compatibility issue of the "CheckListBox" with the Acrylic Theme ...but, let me check.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Windows Acrylic (VistaGlass) UI issue with CheckListBox

Postby FrancescoT » Fri Sep 17, 2021 1:28 pm

Unfortunately, I can only confirm this limitation.

At any rate, and because for what I understand you only have to list a couple of items, you may just use regular check boxes.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 49 guests