Jump to content

Recommended Posts

Posted
  On 8/4/2023 at 8:20 AM, Shark007 said:

The GUI would not present itself. The Application would run and show an icon on the taskbar but I could not get the GUI to show. When I hovered the taskbar icon, I could see the preview of a thin sliver of the gui vertical in the center on the taskbar gui thumbnail. By the way, I only create 64Bit DpiAware Gui's and had no issue's using the old code except for what was previously discussed. I do use the manifest to set up Dpi Aware'ness.

64bit GUI's are a must if you distribute your software publicly and want to avoid false positives.

Expand  

Ok thanks but without source code I cannot troubleshoot.

Using x86 works?

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted
  On 8/4/2023 at 8:44 AM, UEZ said:

Ok thanks but without source code I cannot troubleshoot.

Using x86 works?

Expand  

It has been more than 1 year already that I have stopped creating 32Bit GUI's completely mostly because of the false positives.

Posted
  On 8/4/2023 at 8:49 AM, Shark007 said:

It has been more than 1 year already that I have stopped creating 32Bit GUI's completely mostly because of the false positives.

Expand  

That's was not my question. 😉 If you compile it as x86 just for testing purposes, does it work? Maybe you have to turn off your AV.

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted
  On 8/4/2023 at 8:57 AM, UEZ said:

That's was not my question. 😉 If you compile it as x86 just for testing purposes, does it work? Maybe you have to turn off your AV.

Expand  

I will try an x86 compile.

I stopped using AV of any kind, not even Windows Defender more than 10 years ago. Once you familiarize your self with the possible source's of viruses, it becaomes simple to avoid.

Posted (edited)
  On 8/4/2023 at 8:57 AM, UEZ said:

That's was not my question. 😉 If you compile it as x86 just for testing purposes, does it work? Maybe you have to turn off your AV.

Expand  

OK. I compiled my script as x86 using your latest iteration of your UDF and I get the exact result as x64, a thin sliver of a thumbnail presented on the taskbar and no GUI presented.

Edited by Shark007
Posted

The interesting part is why your GUI is not shown. Anyhow, I cannot fix it when I cannot reproduce the bug.

 

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted (edited)

I will see what I can do to tear my gui down to something shareable and still presents the issue. If I pull this off, I do not expect any of the GUI controls to be functional at all because this will be solely for GUI presentation. Currently it is using 10 private UDF's.

Edited by Shark007
Posted

@UEZ In stripping my GUI down to something you can test with I did notice that the problem occurs only when the manifest sets the DPI Aware'ness

I've included my AutoIt3Wrapper.au3 because it autosets the awareness I prefer.

Check you private messaging for a download url

Posted (edited)

To followup further, UEZ did some testing with files I provided.

The conclussion was that my personally modified AU3Wrapper was causing the issue with the newest _WinAPI_DPI.au3 provided by UEZ.

Edited by Shark007
Posted (edited)

Looks good. Dragging the GUI across the monitors should also fit.

 

What is left is to adjust the size of the Avi clip accordingly.

 

Today I updated the GUI example.

 

 

@Shark007 Thanks for the screenshots.

 

Creating DPI aware GUI is not an easy task...

 

@All; What about OS < Win11? How does it look on Win7, Win8 and Win10 on multi-monitor environment? Can somebody test and share any screenshot?

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted

Windows Shortcut win10

    If you want to move a window to a display located to the left of your current display, press Windows + Shift + Left Arrow.
    If you want to move a window to a display located to the right of your current display, press Windows + Shift + Right Arrow.

 

I know that I know nothing

Posted

Interesting project.

Just for fun, this is my result for the code in Post #1 with Win 7 32 Bit, along with the needed #include <WinAPIGdi.au3>

Added 222 items to the list
Screen Dimensions: 1920 x 1080
Listview Dimensions: 50840 x 19
Calculated GUI size: 960 x 540
OS: WIN_7
 

Here's a screenshot to give you a laugh.

TBarDesktop.png.aac319d026e01e9527ce9029a8f99823.png

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

  Reveal hidden contents

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Posted (edited)

@TheSaint thanks for it but I'm more interested in the Sample GUI from here:

 

 

Any change to test it and provide a screenshot same as Shark007? The interesting part is when the DPI is > 100%.

 

 

222 desktop icons!?!?!  The Toolbar Desktop tool can be found currently only on German site. I'm currently struggling with the file icon on DPI change to resize it properly...

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted (edited)
I have  Windows 10 Pro Version:22H2
 
I have two screens
DISPLAY1 Dim:1920, 1080  Scale:100%  is primary
DISPLAY2 Dim:3840, 2160  Scale:200%
 
  Reveal hidden contents

 

Edited by ioa747

I know that I know nothing

Posted
  On 8/12/2023 at 11:09 AM, ioa747 said:

press Windows + Shift + Right Arrow.

Expand  

I've got your same setup only with the 4k as primary.
I was watching something with VLC when I was reading your post. I tested it right there an then. Funny enough, dragging VLC with the mouse and using the shortcut behaved very differently.

It takes a bunch of us doing stuff to come up with good code.

Today I used SplashTextOn() and realized that I need to add it to the UDF but did not realize it until ..., until I did.

The point is: thanks for testing. I'd have never looked into it otherwise :)

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Posted

@ioa747 thanks for providing the screenshots. What I can see is that the tab control is not properly positioned when moved from 2nd monitor whereas win+shift+right looks properly.

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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
  • Recently Browsing   0 members

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