views:

46

answers:

2
A: 

I believe you would need to create a child QWidget of the QWinWidget to be able to position it. However, I have never used the mfc-migration tool kit.

Adam W
Yes, there is a child QWidget. Moving the child QWidget does not affect QWinWidget's position. I found that QWinWidget does not have parent QWidget, while the QWidget.pos() is the position in its parent widget coordinate, so it is always zero.
Kevin C.
A: 

You may need to firstly show the widget, then move:

pWidget->show();
pWidget->move( 50, 50 );
Mason Chang
That doesn't work also.
Kevin C.