Hi,
just another dll to support more controls.
You have to download the MFC-dlls
only if my dll does not run correctly:
First you have to install the Microsoft VCRedist. (2 files, because there's a uploadlimit)
http://www.autohotkey.net/~Micha/vcredist_x86.sfx.part1.exe
http://www.autohotkey.net/~Micha/vcredist_x86.sfx.part2.rar
Then you need the updated dlls (extract them in the folder of my dll and the script
http://www.autohotkey.net/~Micha/CtrlSupport/Grid/MFC_DLLsGrid.zip
Here is the dll and a few example scripts for the controls:
http://www.autohotkey.net/~Micha/CtrlSupport/AHKCtrlSupport.zip V1.32
Extract all files of the zip into one folder.
Start TestCtrlSupport.ahk for the main-example
HTML_CtrlSupport.ahk is a small browser-demo
RTF_CtrlSupport.ahk shows a RTF-Editor
TestCtrlSupportEdit.ahk are different edit controls.
A little
documentation how to use the controls is
here
There's also a betaversion for a grid-control
Ciao
Micha
--------------------------------
TODOs:
Grid: the grid needs an CWinApp. It seems that AHK does not have one or I can't reach it. I've created an new instance of CWinapp, but the tooltips are using the messageloop to receive mouse-clicks but they never reaches the CWinapp, because they are captured by AHK
Edit-controls: Wrong font. After creating the controls, EditControl->SetFont(Dialog->GetFont()) must be called, but GetFont returns NULL.
HTML-Control: Enter,BS,cut,copy are not working
RTFEdit: SearchReplace-dialog
RTFEdit: AfxRegisterWndClass is not working in release
http://www.pablosoftwaresolutions.com/html/cchecklistctrl.html
http://www.pablosoftwaresolutions.com/html/ccolorcombobox.html
http://www.pablosoftwaresolutions.com/html/cimagebutton.html
http://www.pablosoftwaresolutions.com/html/ctaskpane.html
User-drawn menus with icons
RTF: Tabs aligned to the left, to the center, to the decimal point, added to the right justified actual tabulations. And for the moment the tabs can be moved but not added nor deleted, may be it would be a good thing to be able to do so...
perhaps Ploticus (from the Utilities & Resources forum)
Better documentation
--------------------------------
08-03-06 Added docu for piecontrol
09-03-06 Added Secured Edit Control
12-03-06 Added Color Picker
12-03-06 Choose your own font to display the numbers of the wallclock. Adjusted the positions of the numbers. You can turn off the date.
12-03-06 Added Dynamic LED
14-03-06 Added first try of a html-control. Not finished !
16-03-06 Changed RTFEdit, enhanced HTMLCtrl
17-03-06 Added user-definable Back/color for LED-static
18-03-06 Added to HTML-control: AddFavorites, AutoDetectURL, BackColor, ClearSelection, Copy2Clipboard, SetFont, Get/SetFontName, Get/SetFontSize
23-03-06 VideoControl. (Posted as new thread)
24-03-06 Colored buttons (FooButton)
26-03-06 Colored Listbox, removed IconButton from todolist. FooButton can already do it. Removed CHistoryCombo, because that can be done without the need for an extra control. You can do it with an easy AHK-script.
29-03-06 Added very cool progress control
03-04-06 Added border to the progress control
04-04-06 Added HTML-support.
05-04-06 HTML-Control: While dllcall I send a msg to AHK. It seems they were ignored. Searched for another solution
08-04-06 Added new demo-script for editcontrols. TestCtrlSupportEdit.ahk. Added new edit controls for time, date, numeric...
10-04-06 Added Textcolor, Hilight, Background color for RTF-control
22-04-06 RTF: Shortcuts like Ctrl-B for Bold, Ctrl-U for underline, Ctrl-I for Italics, Ctrl-D for the font dialog Ctrl-H for Hilight (when the caret is in the edit field) RTF: LineIndex, GetLine, GetLineCount, & ReplaceSel
23-04-06 RTF: Added various selection functions (color, BKColor, Hilight...)
29-04-06 RTF: A search/replace function
10-05-06 MaskEdit: More possible mask characters (exclusion of chars)
18-05-06 MaskEdit: You can set a array of valid chars
30-05-06 Added animated GIF-support
16-08-06 Added PeakMeter
03-03-07 Added GridCtrl
29-03-07 GridCtrl: SetCellColor, SetCellType, Selectable(on/off), Sortable(on/off)