Jump to content

Recommended Posts

Posted (edited)

Hi!

Would it be possible to provide a way to set resizing of UDF GUI controls just like standard AutoIt controls???

This would absolutly great! It will be possible to use custom controls and make them follow GUI size just like standard ones.

 

This idea came to me because I'm currently making a wrapper for https://www.mctrl.org/

 

In a desesperate move, I tried to create a dummy label with resizing flags I needed, then creating a custom control with the same CtrlID of the label 😛

But, it seems there have to be a way to make the AutoIt WindowProcedure recognizes the custom control...

Edited by matwachich
Posted

Attached my old UDF for this (but works even on new versions).

Don't remember why i didn't posted it here before.

GUICtrlSetResizingEx_1.3.zipFetching info...

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

Thanks for your UDF :)

But I already tried this method, and the problem with is when you do fast resize of the window, the controls don't follow very well the label resizing.

I meant some better method, as perfect as how standard controls are resized.

Posted
  On 5/19/2020 at 1:12 AM, MrCreatoR said:

Attached my old UDF for this (but works even on new versions).

Don't remember why i didn't posted it here before.

GUICtrlSetResizingEx_1.3.zip 2.73 kB · 3 downloads

Expand  

 

I looked at your UDF.
Thanks for sharing.
Here are my modified version which I made while testing.

 

GUICtrlSetResizingEx_1.4.zipFetching info...

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 5/19/2020 at 2:51 AM, mLipok said:

Here are my modified version which I made while testing.

Expand  

What was modified?

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

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...