Home » U++ Library support » U++ Library : Other (not classified elsewhere) » LRUList, what is that?
LRUList, what is that? [message #14010] |
Wed, 06 February 2008 12:16 |
bytefield
Messages: 210 Registered: December 2007
|
Experienced Member |
|
|
Hi. What is doing LRUList? I found nothing about in documentation. It is used in UWord example.
cdabbd745f1234c2751ee1f932d1dd75
|
|
|
|
|
|
Re: Another question... [message #14030 is a reply to message #14025] |
Thu, 07 February 2008 09:28 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
bytefield wrote on Wed, 06 February 2008 23:36 | How can i get application size, (or get notified on resize)? It help me serializing app. size, store it and load at next start.
I have tried with GetRect()/SetRect(...) but wont work. I want my app. to remember it last size and position, and get initialized with these next time. So need a little help here .
(My app is layout based)
|
You could try to override void Layout() in your class. It should have access to the correct size of you window. Since in U++ most things are placed and sized automatically with the help of the logical coordinate system, GetRect/GetSize do not work as expected in instances where the control does not exist yet or does not have a parent. In Paint and Layout, the control exists, it has been set into position, so this methods work. It is little hard to get used to this system, but you'll probably appreciate it when writing custom controls and not having to worry about their layout.
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 19 04:58:36 CEST 2024
Total time taken to generate the page: 0.03610 seconds
|