I need a new control on gui that is a multiline listbox.
I'm just wondering how hard it would be to create an dll in visual c++ that will allow me to add that control to a AHK gui?
Here is an example of that control.
Is there a lot of work to make it usable with ahk?
I know c++ a little but I'm not to experienced with advanced programming. Maybe someone has an source code/template for custom control that can work with ahk (I saw them on the board)?
Any help, informations, tips are welcome
C++ custom control for AHK
Started by
sqblak
, Sep 13 2012 03:43 PM
6 replies to this topic
#1
-
Posted 13 September 2012 - 03:43 PM
Ahk already has multiline listbox's..... You just have to seperate each value with | when you create it the gui
Red|Green|Blue|Black|White
if you want to change it after you have already created the listview you have to use GuiControl. Its all in the help guide.
Red|Green|Blue|Black|White
if you want to change it after you have already created the listview you have to use GuiControl. Its all in the help guide.
#2
-
Posted 22 September 2012 - 09:08 AM
I believe he means something like this:
As hinted by the image in the link. Note the different heights of the rows/colors?
Multi-lined text per 1 row.
gui, add, listbox, x6 y6 w200 r10, Item1|item2|item3`nitem3|item4`nitem4`nitem4 gui, show Return<!-- m -->http://img1.uploadsc... ... 5-orig.png<!-- m -->
As hinted by the image in the link. Note the different heights of the rows/colors?
Multi-lined text per 1 row.
#3
-
Posted 23 September 2012 - 09:14 PM
rawr. be very afraid
*poke*
. Populate the AutoHotkey city. Pointless but somewhat fun. .
#4
-
Posted 28 September 2012 - 11:07 PM
My Scripts are written for the latest released version of AutoHotkey.
Need a secure, accessible place to backup your stuff? Use Dropbox!
Yea I saw a lot of modified controls written in c++ or any others but I have one basic question. How to add this control to the gui created in ahk? it must be written specially for ahk?
#5
-
Posted 29 September 2012 - 01:02 PM
You will have to make sure that the C++ dll is exporting the control.
Next you will have to import the dll with AHK
#6
-
Posted 03 January 2013 - 06:14 PM
See for example how Scintilla control is loaded from the dll.
For AutoHotkey_L http://www.autohotke...-wrapper-v1424/
For AutoHotkey_H http://www.autohotke...ib/#entry426197
#7
-
Posted 03 January 2013 - 06:44 PM