U++ framework
Do not panic. Ask here before giving up.

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: 3458
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 658 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: Mon Apr 27 12:21:35 GMT+2 2026

Total time taken to generate the page: 0.00837 seconds