Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » using ProfUIS in MFC dll Collapse All
Subject Author Date
Jake Sanders Oct 3, 2004 - 9:06 AM

If I use ProfUIS in dll, I get two different copies of g_PaintManager and when I change UI theme in main application, the appearance of controls from dll not changed. Is any way to ling this two copies of manager?

Technical Support Oct 4, 2004 - 1:45 AM

So far we have not provided this feature because its implementation is specific to any particular task. But it is not difficult to do. In your case, we recommend that you use an instance of some C++ class which can control both copies of paint managers via callback functions or interfaces. The theme synchronization in general case may be implemented as a cross-process feature, which requires a separate thread and named synchronization objects.