MagicBox - Message Box Generator

Post your working scripts, libraries and tools
guest3456
Posts: 2303
Joined: 09 Oct 2013, 10:31

Re: MagicBox - Message Box Generator

17 Nov 2017, 10:46

this is excellent

Yasmeen Blu

Re: MagicBox - Message Box Generator

18 Nov 2017, 03:01

Thank you for this incredible work! Big time saver and also never knew about most of these msgbox possibilities
User avatar
Alguimist
Posts: 227
Joined: 05 Oct 2015, 16:41

Re: MagicBox - Message Box Generator

05 Jan 2018, 06:06

Version 1.0.3:
- Fixed: minor corrections in the generated code.
- Fixed: the whole background of SoftModalMessageBox was being painted white under some unknown condition. Invoking the function by its address solved the issue.
- InputBoxEx: added the options Icon and IconIndex for the title bar.
- MsgBoxEx: compatibility with high DPI scaling.

:arrow: Download
User avatar
Drugwash
Posts: 560
Joined: 29 May 2014, 21:07
Location: Ploieşti, Romania
Contact:

Re: MagicBox - Message Box Generator

05 Jan 2018, 06:28

Thank you, just yesterday I had used previous version for one of my scripts. Very useful tool! :thumbup:
TheDewd
Posts: 874
Joined: 19 Dec 2013, 11:16
Location: USA

Re: MagicBox - Message Box Generator

05 Jan 2018, 09:20

FYI -- For the "Virtuose.ahk" example, the icon used for the correct answer is transparent for me.

I corrected this by using Icon57
hIcon := LoadPicture("ieframe.dll", "w32 Icon57", _)

I had to choose a higher index number and see which icon was displayed, and then find that icon's index number, and then decrease the number until it was the correct icon I wanted.

Image

Image
User avatar
Alguimist
Posts: 227
Joined: 05 Oct 2015, 16:41

Re: MagicBox - Message Box Generator

06 Jan 2018, 00:02

TheDewd wrote:For the "Virtuose.ahk" example, the icon used for the correct answer is transparent for me.

Since the icon indexes of ieframe.dll are subject to change, I'll use the checkmark icon from SyncCenter.dll, 19.
hIcon := LoadPicture("SyncCenter.dll", "w32 Icon19", _)

Another approach is to retrieve the icon handle from the resource ID:

Code: [Select all] [Download] GeSHi © Codebox Plus

hModule := DllCall("kernel32.dll\LoadLibraryEx", "Str", "ieframe.dll", "UInt", 0, "UInt", 0x2, "Ptr")
hIcon := DllCall("LoadIcon", "Ptr", hModule, "UInt", 18211, "Ptr")
DllCall("FreeLibrary", "Ptr", hModule)
User avatar
Delta Pythagorean
Posts: 413
Joined: 13 Feb 2017, 13:44
GitHub: DelPyth
Location: Equestria

Re: MagicBox - Message Box Generator

05 Feb 2018, 08:22

Can you do an alt download to this? I don't mind GitHub, META, or even DropBox.

Either one would work.
Sorry, I just don't like the way sourceforge does its downloads and it's a bit bothersome on my computer to try to load the dang website.
User avatar
Alguimist
Posts: 227
Joined: 05 Oct 2015, 16:41

Re: MagicBox - Message Box Generator

05 Feb 2018, 19:52

I don't see what is wrong with SourceForge, but you can download from a mirror if you want:
https://sourceforge.mirrorservice.org/m ... ory/1.0.3/

It should also be noticed that MagicBox is now included with AutoGUI.
User avatar
Delta Pythagorean
Posts: 413
Joined: 13 Feb 2017, 13:44
GitHub: DelPyth
Location: Equestria

Re: MagicBox - Message Box Generator

06 Feb 2018, 07:11

Alguimist wrote:[...] but you can download from a mirror if you want [...]

Ah! Sorry, I did not know of this. And thank you very much!

Return to “Scripts and Functions”

Who is online

Users browsing this forum: Google [Bot] and 8 guests