Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » strange looking window
Re: strange looking window [message #22500 is a reply to message #9371] Sun, 19 July 2009 19:45 Go to previous message
Sc0rch is currently offline  Sc0rch
Messages: 99
Registered: February 2008
Location: Russia, Rubtsovsk
Member

I'm trying to create a plugin framework. From plugins I'm getting only the layouts now (for tests). But there is a very strange issue... Just run and press "Test Button" and try to use the layout.

After some days: I found a decision. I'm creating ctrl's by calling functions like that:

CtrlFactory::Execute("AddMTIBar", const Value& v1, ...);
Example: f->Execute("AddMTIBar", "Test Title"); // in plugin

Function must be defined in the host-program. In my decision it creates a callback (using this-pointer in host and using received parameters) and executes it.

Well, maybe it's a little complicated but it works good.

Best regards,
Anton
  • Attachment: MSC9.Gui.rar
    (Size: 979.69KB, Downloaded 307 times)

[Updated on: Thu, 23 July 2009 15:56]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with ScrollContainer...
Next Topic: Couldn't enable LLOG in X11Wnd.cpp
Goto Forum:
  


Current Time: Mon May 13 11:53:54 CEST 2024

Total time taken to generate the page: 0.02304 seconds