Jump to content
Jon

AutoIt v3.3.15.3 Beta

Recommended Posts

AutoIt v3.3.15.3 Beta

View File

3.3.15.3 (16th May, 2020) (Beta)
AutoIt:
- Added #3681: Lang Variable prefix "o".

- Fixed #2915: Map memory leak.
- Fixed: Map errors with index < 0.

UDFs:
- Changed #3620: Removed "stable" from _ArraySort function header.

- Added #3670: DriveGetDrive() @error doc clarification.
- Added #3574: GuiCtrlCreateInput() Doc $ES_AUTOHSCROLL precision.

- Fixed: Problem with _WinAPI_GetFontResourceInfo & _WinAPI_GetFontMemoryResourceInfo
- Fixed #3728: Added optional parameter to force single column 2D array to 1D.
- Fixed #3678: Amended Help file to show that function with no text blanks a line, not removes it.
- Fixed #3757: Added note to GUICtrlListView_SetColor* pages about need to use BGR format.
- Fixed #3697: _WinAPI_GetOverlappedResult() failure.


  • Submitter
    Jon
  • Submitted
    05/16/2020
  • Category

 

Share this post


Link to post
Share on other sites

Dear Devs, please do that AutoIt support built-in *.png formats As: GuiCtrlCreatePic("Image.png", 0, 0, 100, 100);

This most problem for autoiters. Thanks


Recomended.png.6706221e0fb8a0eeee5f85479e779d7b.png All my tutorials >> Watch and Subscribe join.png.73002e34fb939ced80e2e5ae1b4c1d95.png

Share this post


Link to post
Share on other sites
1 hour ago, Se7enstars said:

This most problem for autoiters. Thanks

Is there any basis for this assumption?

What @Jon  (and others) are currently implementing is, in my opinion, far more important for the whole (AutoIt-)community.

Of course, native support of the PNG format would be a nice feature, but not of essential relevance. Besides, there are already several solutions using GDIPlus, e.g. :

add-png-image-in-a-gui-window

https://autoit.de/thread/45353-guictrlsetimageex/ (german)

and some of @UEZ  (as usual when it comes to GDIPlus :lol:)


Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Share this post


Link to post
Share on other sites

Se7enstars,

Look in my ExtMsgBox UDF to see how to display .png files - based on code from UEZ the GDI guru. You will see that it is not difficult.

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

As about PNG support in GUICtrlCreatePic(), there is ResourceEx UDF for this,

so you can do it simply by 4 lines of code:

1) embed PNG to resources - #AutoIt3Wrapper_Res_File_Add=png_1.png, RT_RCDATA, PNG_1, 0

2) include UDF - #include 'ResourcesEx.au3'

3) create empty Pic control - $iPic_1 = GUICtrlCreatePic('', 0, 0, 100, 100)

4) set PNG image from resources to Pic control - _Resource_SetToCtrlID($iPic_1, 'PNG_1')

 

 

Share this post


Link to post
Share on other sites

Jon,

Can you take a look at this thread please - an interesting anomaly in Map syntax:

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...