Re[2]: wxDialog/wxMiniFrame window shape (was Button in title/caption bar of a window? Is it possible?)
Vadim Zeitlin <[email protected]> Mon, 7 Jul 2025 14:40:42 +0200
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 7 Jul 2025 02:21:20 -0700 (PDT) Tony Kennedy wrote:
TK> Thanks, I've got this working, the appearance is not quite right though
TK> (see attached, I've coloured the new title bar yellow). I can set the
TK> background of the dialog so it matches the title bar colour, this gets rid
TK> of the grey area at the top. It would be nicer if I could remove the
TK> rounded corners of the window, but I guess that's an operating system
TK> thing, so probably best not to change it.
You can (and probably should) change it, but you'll need to use native
APIs (DWM ones under Windows) to do it.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
https://www.tt-solutions.com/
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCaGvASgAKCRAG6kHeT2we hmQ6AJ9aatxe6f1/ed6OnN4/4GuSjrCSmwCdGk7dsZ49KBZR3DdoW/xOX8o9bUA= =e3GK -----END PGP SIGNATURE-----