Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
hello all,
I recently made a dll with toolkit. I want to open 2 models at the same time, and I used the codes like this:
ProObjectwindowCreate( mdl_name, mdl_type, &w_id);
ProWindowActivate( w_id);
But the created window has no ribbon and can't be closed.
Does anyone know why?
Thanks in advance.
Solved! Go to Solution.
You'll need to use ProWindowCurrentSet instead of ProWindowActivate
This sequence works from WF5 to Creo 3 (WF3 and WF4 would need a different one)
ProObjectWindowCreate(...);
ProWindowCurrentSet(...)
ProMdlDisplay(...)
You'll need to use ProWindowCurrentSet instead of ProWindowActivate
This sequence works from WF5 to Creo 3 (WF3 and WF4 would need a different one)
ProObjectWindowCreate(...);
ProWindowCurrentSet(...)
ProMdlDisplay(...)
OK, thank your for you answer, .
I will try these codes this evening.