Archive: Blue border in InstallOptions?


Blue border in InstallOptions?
Hello. When you uninstall something, there's a dialog with the following:

Uninstalling from: [ <path ]

The <path> is surrounded by a BLUE 1px BORDER.

How do I mimic this border with InstallOptions?


I'm guessing what you are referring to is a group box. Type=GroupBox.

Stu


groupbox has rounded corners, the blue border in the uninstaller doesn't. it kinda looks like a browse window that has been disabled, and with no browse button.


Perhaps you could take a screen-shot because I haven't got an uninstaller handy.

Stu


http://f.nu/border.png


That's just because it is set to read only no?
Flags=READONLY

Stu


no, readonly makes it so you can't type a path manually, you can still use browse button


You want to have a DirRequest field but you don't want to let them browse? Why not just have a plain text box?

To disable the browse button, read from HWND2 and use EnableWindow.

Stu


well as i said i wanted to mimic the uninstall page, and the uninstall page has a blue border with disabled text inside, and no browse button.


Then use a plain text box. That's all it is with read-only set.

Stu


thanks! that did it!