Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.
when i call ProSelect function from a button listener in toolkit dialog ,cursor will not allow me to select any item from Pro/E interface ,howto make it possiblewithout destroying the dialog.
Could you give a more descriptive example of what you are trying to do? Why would you need to select anything from the Pro/ENGINEER UI during a graphics window selection operation?
If i understand your problem correctly,I guess you need to relese the dialog acitivity then call the ProSlect() then you can able to select from the Pro/Engineer graphic sceen.You can not handle two evently simultaneously at one point of time.
I think your req't is that till you process input based on ProSlect() you sould not close your dialog box.I think you need to refine your req't some how to accompish the proselect().I encountered similar kind of issue in past.
I will make it clear .I have 4 Pushbuttons in my dialog . i want touse ProSelect froma function which is defined in ProUIPushbuttonActivateActionSet. I need all selection objects before closing dialog(ie need to toogle between selections) . But the problem is that Pro/E is not giving access for selction without destroying dialog.
NOOOOOOOOOOO!!!!! You cannot put Pro/TOOLKIT calls into two different threads. You can have a multi-threaded program but ALL of the Pro/TOOLKIT calls must reside in the main thread.
Multi-Threaded DLL Libraries for Windows
Library Name[/B]
Purpose
protkmd.lib
Spawn mode library
ptasyncmd.lib
Asynchronous mode library
protk_dllmd.lib
DLL mode library
Multi-Threaded DLL (MD) libraries are used to build a multithreaded DLL for Windows using the /MD compiler flags. You can use these libraries for the following type of applications:
DLL mode applications compiled with the MD flags (if required to link with other MD compiled libraries).
Asynchonous mode applications compiled as DLLs to be loaded into processes external to Pro/ENGINEER.[/list]
The makefiles make_install_md and make_async_md build with these libraries.
Note:
Although the library flags provide compatibility with multithreaded components, Pro/TOOLKIT calls must be made within a single thread. Pro/ENGINEER does not respond to calls made from multiple threads.
I start a JLink-application with toolkit. In some situations I have to set the JLink-Thread to the status "waiting". The consequence is, that ProE is blocked. Is it possible to start the jlink-application in another thread than the main toolkit thread?
My goal is that the waiting jlink-thread don
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.