Window positioning saving!
Moderator: Moderators
Window positioning saving!
Please implement a function for saving the window positions. I have my own style in DC++ and I would be very pleased if the windows could stay that way everytime I start up the program. Thanks!
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Sorry, my "interesting features" differ from yours. Perhaps one of the other programmers reading this finds it interesting and will code it for DC++... I can only answer for myself.
If you really want a feature, buy it, or somehow motivate a programmer to do it for you. (or code it yourself, if you have the luxury of knowing C++).
Sarf had an excellent post in a thread that I've linked several times about users, features, and motivation.
If you really want a feature, buy it, or somehow motivate a programmer to do it for you. (or code it yourself, if you have the luxury of knowing C++).
Sarf had an excellent post in a thread that I've linked several times about users, features, and motivation.
I'd do a patch for it, IF someone would buy me Visual Studio .NET, since using VC6 is not an anlternative anymore
But anyways, it can't be too hard, if gargoyle would give some hints on where to start.
Why 12+ files, doesn't the GUI code know of all it's windows in one centered place, so it can read coordinates?
I guess the window sizes should end up in the XML config file (aha, more files to edit), or should it go into the registry?
But anyways, it can't be too hard, if gargoyle would give some hints on where to start.
Why 12+ files, doesn't the GUI code know of all it's windows in one centered place, so it can read coordinates?
I guess the window sizes should end up in the XML config file (aha, more files to edit), or should it go into the registry?
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
You can program, but getting DC++ to work in VS6 is too hard? I feel sorry for you.Blippo wrote:I'd do a patch for it, IF someone would buy me Visual Studio .NET, since using VC6 is not an anlternative anymore
Take a look in the ::OnCreate functions in the window classes. You can look specifically at HubFrame, because it will pull window sizes from SettingsManager already.But anyways, it can't be too hard, if gargoyle would give some hints on where to start.
Because each window is its own class and its own file. Using inheritance to implement most of the code in a base class isn't really an option, though...Why 12+ files, doesn't the GUI code know of all it's windows in one centered place, so it can read coordinates?
No, I was thinking you'd add additional attributes to favorite users and for favorite hubs, and explicitly say "Only saves the position of favorite hubs and favorite users" in the feature description.I guess the window sizes should end up in the XML config file (aha, more files to edit), or should it go into the registry?
That keeps you from having to keep a LRU cache of window sizes and positions (or just keeping all of them... which would get ugly after a number of months).
Hubs window position, size and chat / userlist separator saving for favorite hubs is done in CZDC++ ... if anyone want
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Hahaha? Well, if you're not going to give Arne a patch...PPK wrote:Hubs window position, size and chat / userlist separator saving for favorite hubs is done in CZDC++ ... if anyone want