If I am not wrong your problem is a combinatorial problem. There is a large number of solutions and as the weeks go by some solutions become taboo, in other words cannot be used again.
I have used AI methods to solve hard problems in the arena of 2D nesting and can see some similarities...
I think you need to use MoveWindow call to ensure your window has some size. Perhaps you also need to call ShowWindow(SW_SHOW)... not sure about the SW_SHOW... look it up.
so...
pADlg->Create(this);
pADlg->MoveWindow(....);
pADlg->ShowWindow(...); // maybe u wont need this
hope this helps
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.