Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. 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.
