Moving a Dialog programmatically

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Sterling94
In need of some credit
In need of some credit
Posts: 1
Joined: Tue Aug 14, 2018 10:16 am

Moving a Dialog programmatically

Post by Sterling94 »

Hello. My problem is simple, Move() function doesn't seem to work on a dialog. Did i miss something or is this normal ?
If it is normal is there any way to move a dialog and not to center it as it seems to be by default ?

thanks for your help.
Last edited by doublemax on Tue Aug 14, 2018 12:59 pm, edited 1 time in total.
Reason: better post title
User avatar
doublemax
Moderator
Moderator
Posts: 19116
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: My problem is simple

Post by doublemax »

Which platform and which dialogs are you talking about? It's possible that some native dialogs (like a wxFileDialog) can't be moved programmatically. (Just an idea, i haven't tried it).

Also when and how do you call Move()?
Use the source, Luke!
Post Reply