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++ TheIDE » U++ TheIDE: Layout (Forms) Designer » A (maybe) dummy idea about widgets and control manager
Re: A (maybe) dummy idea about widgets and control manager [message #11483 is a reply to message #11476] Sat, 15 September 2007 16:55 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
mdelfede wrote on Sat, 15 September 2007 03:36


Theyr controls all have (in base class) an 'in-designer' flag that changes the behaviour of control when it's in designing state.
This brings some advantages :

1- The most obvious : the control can paint by itself when put on the designer. No need to add external code to show it. And it's wysiwyg.



We have followed this approach in the past.

The disadvantage is that it is not actually easy to get the widget to layout designer. You can easily add every CtrlLib widget, but for custom developed widgets things are more complicated, you would have to invent some .dll plugin system (not even sure how it should look like).

BTW, why do you think that usc script language tries to be similar to C++?

(The idea is to reuse as much of existing C++ code of Paint routine as possible straight to .usc).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: need Picture control window
Next Topic: Toggle button
Goto Forum:
  


Current Time: Wed Jun 18 19:13:41 CEST 2025

Total time taken to generate the page: 0.04985 seconds