In the dialog class contructor,
after calling LoadDialog() you should call this function. I placed the call right before returning from the constructor where possible for consistency.
PositionUserDialog(this);
This will position the dialog where the user has requested it be placed.
PositionUserDialog is declared in <sdk/xtra_classes.h>, or you can just include <sdk/sdk.h>
The full discussion leading to this decision is here:
http://forums.codeblocks.org/index.php?topic=1640.0I fixed all the existing cases and posted a patch but it is up to you to add this line if you make a new dialog from here on out.
Sam