Jump to content

Custom Grid with Desktop App fitin -Windows 10


WindIt
 Share

Recommended Posts

Hi ,

I have a 85" inch screen powered by windows 10 and using it for multiple web dashboards and applications to be viewed in lab.

I have used power toys fancy zones, but not addressing the purpose.

I am trying to built an application that can create custom grid on home screen (invisible) and applications that can fit into the grids.

When closed application reinvoked can fit into the same grid automatically.

Ex: 6x3 Grid

image.png.64bfbe3ca6dd8a99b768e7f65eaa1918.png

 

Link to comment
Share on other sites

+10 points for the amazing use of Paint 😝

Looks like _WinAPI_SetWindowPlacement will allow you to set the Normal, Minimized, and Maximized positions of a window. The help file has an amazing example of how to display and edit the DLL struct for it as well.

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Spoiler

My Humble Contributions:
Personal Function Documentation - A personal HelpFile for your functions
Acro.au3 UDF - Automating Acrobat Pro
ToDo Finder - Find #ToDo: lines in your scripts
UI-SimpleWrappers UDF - Use UI Automation more Simply-er
KeePass UDF - Automate KeePass, a password manager
InputBoxes - Simple Input boxes for various variable types

Link to comment
Share on other sites

30 minutes ago, seadoggie01 said:

+10 points for the amazing use of Paint 😝

Looks like _WinAPI_SetWindowPlacement will allow you to set the Normal, Minimized, and Maximized positions of a window. The help file has an amazing example of how to display and edit the DLL struct for it as well.

Thank you for the +10 points i wanted to ensure the idea is understood so went graphical :) 

So, any idea on how to get the grids constructed ?   Thanks for WinAPI command will try it.

Any example will be really helpful.

Link to comment
Share on other sites

There is no need to draw a graphical grid on your screen as most Windows apps have a frame.  Just divide your screen into identical areas, and use @seadoggie01 solution (or other similar functions, like WinMove for example) to display the application into the proper area.  Start scripting some base code, and if you have trouble, come back with what you have done so far.  We will then be in a better position to help you out.

Link to comment
Share on other sites

4 hours ago, WindIt said:

Thank you for the +10 points

I really need a sarcasm font

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Spoiler

My Humble Contributions:
Personal Function Documentation - A personal HelpFile for your functions
Acro.au3 UDF - Automating Acrobat Pro
ToDo Finder - Find #ToDo: lines in your scripts
UI-SimpleWrappers UDF - Use UI Automation more Simply-er
KeePass UDF - Automate KeePass, a password manager
InputBoxes - Simple Input boxes for various variable types

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...