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++ Library : Other (not classified elsewhere) » LRUList, what is that?
LRUList, what is that? [message #14010] Wed, 06 February 2008 12:16 Go to next message
bytefield is currently offline  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: LRUList, what is that? [message #14011 is a reply to message #14010] Wed, 06 February 2008 13:29 Go to previous messageGo to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
It stands for Last Recently Used List, and I would guess that in UWord it is used for ordering the the recently used files in the File menu.
Re: LRUList, what is that? [message #14023 is a reply to message #14011] Wed, 06 February 2008 22:14 Go to previous messageGo to next message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
Thanks, that help me understanding UWord.

cdabbd745f1234c2751ee1f932d1dd75

[Updated on: Wed, 06 February 2008 22:36]

Report message to a moderator

Another question... [message #14025 is a reply to message #14023] Wed, 06 February 2008 22:36 Go to previous messageGo to next message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
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 Smile .
(My app is layout based)


cdabbd745f1234c2751ee1f932d1dd75
Re: Another question... [message #14030 is a reply to message #14025] Thu, 07 February 2008 09:28 Go to previous messageGo to next message
cbpporter is currently offline  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 Smile .
(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.
Re: Another question... [message #14031 is a reply to message #14030] Thu, 07 February 2008 11:04 Go to previous messageGo to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
You may also want to look at TopWindow::SerializePlacement and perhaps save yourself some effort Smile
Re: Another question... [message #14043 is a reply to message #14031] Thu, 07 February 2008 19:26 Go to previous message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
Thanks, i will try it this night Smile.

cdabbd745f1234c2751ee1f932d1dd75
Previous Topic: Zip library
Next Topic: Function plot
Goto Forum:
  


Current Time: Thu Mar 28 23:01:21 CET 2024

Total time taken to generate the page: 0.01361 seconds