Author Topic: (Non-Decal) AC Window Border Toggler
Verrigan 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: (Non-Decal) AC Window Border Toggler
Before adding this feature to VMT, I had created a separate application to do this for me.. It has a single button.

What it does:
Removes the title bar and window borders from the AC window in windowed mode.
Be careful if you are in full screen mode.. It won't kill AC (from my experience) but it will put a title bar and border in your current resolution. ;-)

http://www.verrigan.net/VMT/AC%20Window%20Border%20Toggler.zip
This application may require VB6 Run-times.. Probably not, since it's all API calls, and most XP installations have the other required files.. If you find you need the VB Run-times for this, please let me know.

Yes, this is an option in VMT, for those who did not know, and will happen automatically (provided you have the option checked) whenever your game window changes size. (Upon entering the game.. changing resolution.. etc.)

It is not recommended that you use VMT's border removal feature, or this separate application if you are playing in full-screen mode.

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: (Non-Decal) AC Window Border Toggler
Just curious...why would you want to get rid of the border? Wouldn't that be really annoying?

Unless...hey. Why not make it so that the health/stam/mana bars at the top of the screen act as a window drag area?

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
Drakier 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: (Non-Decal) AC Window Border Toggler
Some people like their desktop in 1024x768 and like playing AC in 1024x768 but don't like using Fullscreen (for whatever reason).

I'm personally like this. I find it easier and faster to ALT-TAB between applications while playing in Windowed Mode... but I dislike the desktop/ac resolution discrepancies.

Removing the border allows the AC window to fit perfectly within the desktop if "moved" to (0,0) after the border was removed. It's mimicking the fullscreen mode with all of the up-sides of playing in windowed mode.

 

-----signature-----
Link to this post
Verrigan 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: (Non-Decal) AC Window Border Toggler
I have a few reasons I do it:

1) I don't like full screen mode when I alt-tab, and AC disappears..
2) When I use windowed mode, and size it to my screen's resolution, it hides part of the bottom of the game screen (maximum size of the window can only be as big as your resolution, including the title bar..)
3) Making the window's resolution smaller than my screen resolution is not good enough for me... I want it full screen, but without the full screen hassle of the game.

I suppose I could do as you ask in the decal plugin, but this stand-alone version is not intended to be run all the time, which would be a requirement for moving the window around. wink

I'll see about adding the movement capability in VMT, though. Shouldn't be too hard.

[edit]
Or maybe I could create a separate decal plugin for this, as well.. So people who don't want to use VMT can still have this feature.

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: (Non-Decal) AC Window Border Toggler
It just seems like if you have your border off, you need a handy way to move it around happy

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: (Non-Decal) AC Window Border Toggler
Eep! When I have one window open and turn the border off, then open another window, they always have opposite border states. sad

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
Verrigan 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: (Non-Decal) AC Window Border Toggler
This particular program, I think, only works on one window..

I don't think it will work with dual clients.. Though I'll see if I can modify it to do the same to all AC windows.. Will have a look see when I get home.

[edit]
Also.. This one doesn't check the state of the actual window.. (To see if it has a border/title) The plugin does.. I'll see what I can do to resolve that.

Also.. I'm not sure how to check to see if the game itself is in full-screen mode, to prevent toggling the window characteristics.. Still looking at a way to detect this, and then it will all be perfect. :P

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: (Non-Decal) AC Window Border Toggler
Well, if the plugin is running...

It does work with multiple clients, though.

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
Verrigan 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: (Non-Decal) AC Window Border Toggler
The plugin utilizes the handle for the AC window provided by Decal.. This app searches all the windows for a Window named "Asheron's Call".

 

-----signature-----
Link to this post
Drakier 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: (Non-Decal) AC Window Border Toggler
The Border State can be detected in a similar fashion to what you use to set it.

As for the windows, you'll just have to enumerate the processes and window handles looking for Asheron's Call windows.

Neither should be overly difficult judging from what you've accomplished so far.

 

-----signature-----
Link to this post
Verrigan 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: (Non-Decal) AC Window Border Toggler
Once my boss leaves, I'll see about making a Multi-Window handler that will let you set the positions of the windows..

As it stands now, I believe you can right-click the icon in the taskbar for AC, and click 'Move' to move the window.

 

-----signature-----
Link to this post
-Foxy- 
Title: Moderator
Ãœber Brat

Posts: 110,094
Registered: May 29, '02
Extended Info (if available)
Real Post Cnt: 107,357
User ID: 683,944
Subject: (Non-Decal) AC Window Border Toggler
Verrigan posted:
Once my boss leaves...




ooooooooooooo shame_on_you

 

-----signature-----
Long suffering vassal to Xarkath, U.P. - Forever and ever
Link to this post
Verrigan 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: (Non-Decal) AC Window Border Toggler
Boss is staying late today, but I leave in about half an hour, so I'll work on it after dinner tonight. :P

 

-----signature-----
Link to this post
Verrigan 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: (Non-Decal) AC Window Border Toggler
Okay... I have modified this stand-alone application to show you a list of Asheron's Call windows it finds, and has 2 buttons.. One for toggling the window borders on/off.

Toggling the window borders will also move the window to the coordinates x=0, y=0.

If you don't like these coordinates, you can right-click the AC window in the task-bar, and select Move. Using this option, my experience has been that I have to start the movement with the arrow keys, but I can then position the window with the mouse.

It's pretty self-explanatory, but I do not have any kind of dual client system setup, so please test and report any bugs you find here.

I will be adding the draggable window movement feature to VMT this weekend, and also making a separate decal plugin just for toggling the window borders. (Though this feature will still be an option in VMT.)

[edit]
Oh yeah... The download is the same. Should be version 0.0.0.2. Enjoy!

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: (Non-Decal) AC Window Border Toggler
Cool happy

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
Verrigan 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: (Non-Decal) AC Window Border Toggler
Noticed a bug when I was testing this in a separate app that lets me choose the window names to remove the borders..

The bug is this:
If you refresh the window list, the handles are not refreshed properly. This could cause problems if you open one window, run this app, and then open another AC window.

Ensure both windows are open for the time being, and it should work fine.. If one crashes, make sure to restart the toggler.

I'll have a fix for this up tonight.

[edit]
I may post up the source for this tonight, as well..

Some of you might be surprised at how simple it was to do. wink

[edit again]
Still had 24 minutes to edit this post, so...

I have updated the download to Version 0.0.0.3 which fixes the bug mentioned above.

The source is released now, so feel free to tinker with it, and do what ya like. You can get it at http://www.verrigan.net/VMT/AC%20Window%20Border%20Toggler%20Source.zip (It was written in VB 6)

 

-----signature-----
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP