VaultNetwork.netVault Network Boards
Author Topic: (Non-Decal) AC Window Border Toggler [Locked]
Verrigan
Posts: 49
Registered:
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.
Virindi-Inquisitor  4 stars
Posts: 1,538
Registered: 2001-11-18 22:25:54
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
Drakier  4 stars
Posts: 1,486
Registered:
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.
Verrigan
Posts: 49
Registered:
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.


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.
Virindi-Inquisitor  4 stars
Posts: 1,538
Registered: 2001-11-18 22:25:54
It just seems like if you have your border off, you need a handy way to move it around

 

-----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
Virindi-Inquisitor  4 stars
Posts: 1,538
Registered: 2001-11-18 22:25:54
Eep! When I have one window open and turn the border off, then open another window, they always have opposite border states.

 

-----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
Verrigan
Posts: 49
Registered:
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.
Virindi-Inquisitor  4 stars
Posts: 1,538
Registered: 2001-11-18 22:25:54
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
Verrigan
Posts: 49
Registered:
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".
Drakier  4 stars
Posts: 1,486
Registered:
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.

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.