04-14-2013, 05:52 PM
Maybe something in your code repeatedly sets focus to some other window or control. Normally no problems with drag.
SetParent can be used instead. Also add WS_CHILD style. Then the window becomes a child window of the dialog. But it is not recommended. Possible problems.
SetParent can be used instead. Also add WS_CHILD style. Then the window becomes a child window of the dialog. But it is not recommended. Possible problems.