I saw in the CLR thread something about an XPTable project, but I could not get it going.
I am looking to be able to make custom GUIControls in C# and use them in AHK. Any pointers as to how one would go about this would be much appreciated.
To give an idea of the kind of functionality I need in the GuiControls, I am trying to replace the IOControls in UCR - these encapsulate all the options available for binding an input / output / axis / button
Here is what output axis currently looks like
Currently, it is 2 GuiControls - one to select outputs, plus a slider that shows current state. I would like to look into merging this "preview" control into the main GuiControl (As maybe a colored background that moved along length, like a progress would).
Potentially, I would like to merge other stuff in, eg for inputs I currently have a deadzone editbox, so merging that into the one custom GuiControl would also be cool.
In an ideal world, what I would like is for the GuiControls to be in C#, and they work in conjunction with something like my InputWrapper C# code, such that in an AHK script you can use CLR to inject one of these custom GuiControls, which you pass a callback, and the C# handles the end-user selecting an input, and fires the callback to the AHK code whenever the input changes state.
- Home Board index General Other Programming Languages C#
- Search
-
- It is currently 29 Apr 2024, 10:29
- All times are UTC-05:00
[CLR / C#] Injecting custom GuiControl into AHK Gui?
Talk about things C#, some related to AutoHotkey
Jump to
- AutoHotkey Foundation
- ↳ About This Community
- ↳ Forum Issues
- AutoHotkey (v2, current version)
- ↳ Ask for Help (v2)
- ↳ Gaming
- ↳ Scripts and Functions (v2)
- ↳ Gaming
- ↳ Tutorials (v2)
- ↳ Tips and Tricks
- ↳ Wish List
- ↳ Suggestions on Documentation Improvements
- ↳ Bug Reports
- ↳ AutoHotkey Development
- ↳ AutoHotkey_H
- ↳ Ask for Help
- ↳ Development
- ↳ Editors
- ↳ Adventure IDE
- ↳ Old Topics
- ↳ AHK Studio
- ↳ Notepad++
- ↳ Pulovers Macro Creator
- ↳ SciTE4AutoHotkey
- ↳ Visual Studio Code
- ↳ Announcements
- ↳ General Discussion
- AutoHotkey (v1.1 and older)
- ↳ Ask for Help (v1)
- ↳ Gaming Help (v1)
- ↳ Scripts and Functions (v1)
- ↳ Gaming Scripts (v1)
- ↳ Tutorials (v1)
- ↳ Tips and Tricks (v1)
- General
- ↳ Other Utilities & Resources
- ↳ Other Programming Languages
- ↳ C/C++
- ↳ ASM
- ↳ C#
- ↳ KeySharp
- ↳ Off-topic Discussion
- ↳ RPA
- Other languages
- ↳ Looking for Volunteers in other languages
- ↳ Deutsch (German)
- ↳ Ich brauche Hilfe
- ↳ Spiele
- ↳ Skripte und Funktionen
- ↳ Tutorials
- ↳ Tooltime
- ↳ Allgemeines
- ↳ 中文 (Chinese)
- ↳ 请求帮助
- ↳ 脚本函数
- ↳ 教程资料
- ↳ 相关工具
- ↳ 其他
- ↳ Español (Spanish)
- ↳ Pedir Ayuda
- ↳ Automatización de Juegos
- ↳ Scripts y Funciones
- ↳ Tutoriales
- ↳ Otras Utilidades y Recursos
- ↳ General
- ↳ Русский (Russian)
- ↳ Помощь
- ↳ Скрипты для Игр
- ↳ Скрипты и библиотеки
- ↳ Статьи и руководства
- ↳ Прочие ресурсы и ПО.
- ↳ Свободное общение
- ↳ Français (French)
- ↳ J'ai besoin d'aide
- ↳ Scripts et Fonctions
- ↳ Tutoriels
- ↳ Autres Utilitaires et Ressources
- ↳ Hors Sujet
- ↳ Português (Portuguese)
- ↳ Ajuda e Suporte Geral
- ↳ Scripts e Funções
- ↳ Tutoriais
- ↳ Outras Ferramentas e Recursos
- ↳ Outros Assuntos
- ↳ 한국어 (Korean)