_Forms | |
Overview | Forms framework is a group of modules used together to create rich AHK & AHK_L applications and graphical user interfaces. |
Features | All modules are developed so they fulfill specific goals : |
How to Use | If framework is located in “\inc” folder its enough to add the following line at the end of your script : |
Modules | |
Extensions | |
Known bugs/ | |
Links | |
About |
Forms framework is a group of modules used together to create rich AHK & AHK_L applications and graphical user interfaces. It contains the list of optional module includes with each module designed to work with or without the framework in place. It includes number of custom controls, extensions and useful libraries. Form module is a backbone of the framework.
All modules are developed so they fulfill specific goals :
If framework is located in “\inc” folder its enough to add the following line at the end of your script :
#include inc #include _Forms.ahk
After that you can use any of the Forms modules. You might need to specify
SetWorkingDir inc
before calling modules that use 3thd party dll’s. This is not mandatory since Add function for such modules always have DllPath parameter.
After the development is complete, you can delete all modules you didn’t use except _Forms.ahk which is used to #include modules you didn’t delete.
Optionally, you can pack your script and modules you used into the single file using ScriptMerge (if you want to distribute your script as single ahk file).
Show menu from the text string.
ShowMenu( MenuDef, MenuName = "", Sub = "", Sep = "`n", r = 0 )
Aligns controls inside the parent.
Align( HCtrl, Type = "", Dim = "", HGlueCtrl = "" )
Determines how a control is resized with its parent.
Attach( hCtrl = "", aDef = "" )
Set cursor shape for control or window.
Ext_Cursor( HCtrl, Shape )
Add tooltips to GUI controls.
Ext_Tooltip( HCtrl, Text )
Sets context menu for the control.
CMenu( HCtrl, MenuName = "", Sub = "" )
Set text and background color for some Gui controls.
CColor( Hwnd, Background = "", Foreground = "" )
Creates an ImageList and associates it with a button.
ILButton( HBtn, Images, Cx = 16, Cy = 16, Align = "Left", Margin = "1 1 1 1" )
Dlg_Font( ByRef Name, ByRef Style, ByRef Color, Effects = true, hGui = 0 )