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++ Core » Init a ctrl inside INITBLOCK
Init a ctrl inside INITBLOCK [message #35090] Wed, 11 January 2012 09:19 Go to previous message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
Hello all

I wanted to init a Ctrl inside INITBLOCK:

struct Tab1 : StaticRect {
...
}

INITBLOCK {
	RegisterExample("Basic", new Tab1);
}

It works but program look is weird:

index.php?t=getfile&id=3608&private=0

Is there a safe way to init a Ctrl inside INITBLOCK?
  • Attachment: dib.PNG
    (Size: 5.74KB, Downloaded 430 times)


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Date& operator++
Next Topic: random functions proposal
Goto Forum:
  


Current Time: Sat Apr 27 10:16:13 CEST 2024

Total time taken to generate the page: 0.07807 seconds