Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! 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.
