Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. 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.
