wxColourDialog, set position on screen (Windows)?

Tony Kennedy <[email protected]> Tue, 9 Dec 2025 04:59:30 -0800 (PST)
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
Using wx 3.3.1 on Windows.

I'm having a lot of trouble setting the position of the 
standard wxColourDialog on Windows.

Even with very simple code, the dialog always appears top left.

wxColourData data;
data.SetColour(*pDefaultColour);
wxColourDialog dlg1(pParent, &data);
dlg1.Move(500, 500);
dlg1.ShowModal();

Is there a knack to getting this to work?

Thanks in advance,

Tony.

-- 
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/834af9a1-f86a-4b63-a1c7-da4247480959n%40googlegroups.com.