v1.1.10.01
Improved RegRead to support REG_BINARY values larger than 64K.
Improved RegWrite to support REG_BINARY/REG_MULTI_SZ values larger than 64K.
Fixed Process Close (and possibly other things) on Windows XP.
v1.1.10.01
Improved RegRead to support REG_BINARY values larger than 64K.
Improved RegWrite to support REG_BINARY/REG_MULTI_SZ values larger than 64K.
Fixed Process Close (and possibly other things) on Windows XP.
Help me out here... what other custom controls can be added? Is there a list somewhere that I can reference?
Thanks for the update!
This might help: http://msdn.microsof...ibrary/bb773169(v=vs.85)
This might help: http://msdn.microsof...ibrary/bb773169(v=vs.85)
GTFO! I can natively create Rich Edit controls!?
Changed since 1.1.08.00
http://l.autohotkey....L_ChangeLog.htm
A BOM format is required for the script to be recognised as UTF-8, the default script codepage is now ANSI
And what was changed since v.1.1.00.00 so my TrayTip command doesn't work anymore?
How do I add other custom controls than what's in the example in the HF? I'm getting unregistered class errors. Forgive the noob question, but I don't see in the documentation (ahk and msdn).
TrayTip doesn't work in Win XP, Win 7 is OK
Works on my system:
AHK Version: 1.1.10.01
Unicode: Yes (32-bit)
Operating System: WIN_XP
Admin Rights: Yes
My Scripts are written for the latest released version of AutoHotkey.
Need a secure, accessible place to backup your stuff? Use Dropbox!
How do I add other custom controls than what's in the example in the HF? I'm getting unregistered class errors. Forgive the noob question, but I don't see in the documentation (ahk and msdn).
Possibly related: http://msdn.microsof...6(v=vs.85).aspx
My Scripts are written for the latest released version of AutoHotkey.
Need a secure, accessible place to backup your stuff? Use Dropbox!
@FischGeek: Make sure you're using the correct class name(s) for the control. Here's a guide for Windows Common Controls:
===================================== Control Class ===================================== Button Button ComboBox ComboBox ComboBoxEx ComboBoxEx32 DateTime SysDateTimePick32 Edit Edit Header SysHeader32 Hotkey msctls_hotkey32 ListBox ListBox ListView SysListView32 MonthCal SysMonthCal32 Progress msctls_progress32 ReBar ReBarWindow32 ScrollBar ScrollBar Static Static StatusBar msctls_statusbar32 Tab SysTabControl32 Toolbar ToolbarWindow32 ToolTip tooltips_class32 TrackBar msctls_trackbar32 Treeview SysTreeView32 UpDown msctls_updown32 =====================================
I found this online a while back: http://read.pudn.com...ontrols FAQ.pdf
Thank you. That really helps! Though, I still can't seem to get RichEdit to work.
Gui, Add, Custom, ClassRichEdit, Hello Gui, Show return GuiClose: ExitApp
"Gui, Add, Custom" is more of a lower-level command compared to the conventional "Gui, Add, [ControlType]" command. It requires a little bit more coding and knowledge on the desired control that you want to add. My suggestion is to write a few test scripts using simpler controls (e.g. try adding a Static(text) control using [Gui, Add, Custom] instead of [Gui, Add, Text]). Also, if you go to MSDN (Control Library), when you pick a certain control from the left, you will see under [Control Type], two sub-trees. Choose "[ControlType] Overviews" and under it you'll see "Using [ControlType]". Select that and most probably, you'll see some sample C++ code(s) on how to implement the certain control. C++ knowledge is not really needed as all you have to study/understand is the steps needed to implement the control.
Using the information in Coco's post, I think I found the answer. You need to load the dll first.
hModule := DllCall("LoadLibrary", "Str", "Msftedit.dll", "Ptr") Gui, Add, Custom, ClassRICHEDIT50W, Hello Gui, Show return GuiClose: ExitApp
My Scripts are written for the latest released version of AutoHotkey.
Need a secure, accessible place to backup your stuff? Use Dropbox!
I've been playing around with some controls as well. I found in the MSDN page that RichEdit needs ES_MULTILINE style to work with line breaks, but what's strange is that I can only break a line with ^Enter.
DllCall("LoadLibrary", "Str", "Msftedit.dll", "Ptr") Gui, Add, Custom, ClassRICHEDIT50W 0x0004, Hello`nWorld Gui, Show return GuiClose: ExitApp
Most of the constants can be found in just me's Super Global Gui Constants script.
The one control I'm really interested is the Toolbar, but I cannot understand the structures part in the msdn examples... I was hoping to get that using another script by just me, Class Dll_Struct but the link is dead I still can't find it anywhere... Does anyone here have a copy? I find HotKeyIt's version too complicated to use.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer) | Class_LV_Rows - Copy, Cut, Paste and Drag ListViews | Class_Toolbar - Create and modify | Class_Rebar - Adjustable GUI controls
Join the New AutoHotkey Forum!
Most of the constants can be found in just me's Super Global Gui Constants script.
+1 Very useful script/reference when working with GUI's.
The one control I'm really interested is the Toolbar, but I cannot understand the structures part in the msdn examples.
If you have majkinetor's Toolbar.ahk, (included in Scite4AutoHotkey) , you can study his functions and structures.