Re: wxColourDialog, set position on screen (Windows)?

Tony Kennedy <[email protected]> Tue, 9 Dec 2025 07:57:44 -0800 (PST)
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
Thanks for the help.

Am I right in saying I need to add "colrdlgg.cpp" to my project to get 
access to the generic dialog?

I appreciate that it does not look like the native dialog, but I've got a 
toolbar along the bottom of the app. And it appears fine over the toolbar, 
but you have to move it up to click the "ok" button, I'd much prefer it I 
could just set the location manually to avoid the user having extra clicks.

Tony.



On Tuesday, 9 December 2025 at 14:16:08 UTC Vadim Zeitlin wrote:

> On Tue, 9 Dec 2025 04:59:30 -0800 (PST) Tony Kennedy wrote:
>
> TK> Using wx 3.3.1 on Windows.
> TK> 
> TK> I'm having a lot of trouble setting the position of the 
> TK> standard wxColourDialog on Windows.
>
> Specifying position for native dialogs is not supported by Windows, so
> this doesn't work there. If you absolutely must have the dialog at a
> fixed location you could use wxGenericColourDialog but it doesn't really
> look like the native dialog.
>
> Regards,
> VZ
>
> -- 
> TT-Solutions: wxWidgets consultancy and technical support
> https://www.tt-solutions.com/
>

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/dfe3bd47-45ad-4218-a2a8-bef2a0c2055en%40googlegroups.com.