Professional UI Solutions
Site Map   /  Register


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 » How to load dll in Dynamic Bars? Collapse All
Subject Author Date
kaye echica May 10, 2007 - 12:12 AM

In the samples that I got from ProfUIS, I can only see edit controls being loaded in the dynamic bars (SDI_DynamicBars).
Is it possible to load a dll on these areas?
If yes, how?

batang igat May 10, 2007 - 6:41 PM

Are there samples in Prof-UIS where I can see the process of load a dll to a window?

Technical Support May 11, 2007 - 9:48 AM

No, we don’t have no such a sample. But it is not difficult to create an MFC extension DLL and load it dynamically using ::AfxLoadLibrary() (MFC) (please note not Win32’s ::LoadLibrary()). In this case you can simply use any MFC/Prof-UIS-based class in scope of the extension DLL project and avoid any difficulties with MFC state switching.

Technical Support May 10, 2007 - 8:34 AM

Edit controls are just child windows of the control bars. You can create any window inside the control bar. It can be a regular window, ActiveX control or window loaded from a DLL.