kcvinu Posted June 10, 2023 Author Share Posted June 10, 2023 @Andreik This time TreeView click ? Double or single ? Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
Andreik Posted June 10, 2023 Share Posted June 10, 2023 4 minutes ago, kcvinu said: @Andreik This time TreeView click ? Double or single ? After clicking random some controls, not necessarily the TreeView. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
kcvinu Posted June 10, 2023 Author Share Posted June 10, 2023 @Andreik, Oh I see. That's interesting. Let me check. Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
kcvinu Posted June 12, 2023 Author Share Posted June 12, 2023 Hi all, I just pushed a bug fixed version of Glance gui lib. Please check. Changed some stack generated strings to heap strings. Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
Andreik Posted June 12, 2023 Share Posted June 12, 2023 It looks more stable, no crashes yet. Can you compile the DLL for x86 also? kcvinu 1 When the words fail... music speaks. Link to comment Share on other sites More sharing options...
kcvinu Posted June 12, 2023 Author Share Posted June 12, 2023 @Andreik, Thanks. Let me check what I can do with x86. I had very little priority when it came to the X86. Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
kcvinu Posted June 14, 2023 Author Share Posted June 14, 2023 Hi all, A script braking change !!! I just improved the way of using property getter/setter and event. New way. ; Set a property Local $btn1 = glf_NewButton($frm, "Normal", 15) glf_ControlSetProperty($btn2, $btn2.backColor, 0x90be6d) ; Get a property Local $txt = glf_ControlGetProperty($tb, $tb.text) ; Set an event handler glf_ControlAddHandler($btn1, $btn1.onClick, "onBtnClick") glf_MainMenuAddHandler($frm, "Basic Job", $frm.onMenuClick, "menuClick") Please download the updated files from git repo Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
akanada Posted June 15, 2023 Share Posted June 15, 2023 Hi first of alle great looking GUI. I have problems Running your Demo APP i get this Error I use Visual Studio Code with the Autoit Plugin by Damian. But also when i compile into an Exe with the Aut2exe_x64.exe the error stays the same. Any Idea what am i doing wrong? Link to comment Share on other sites More sharing options...
akanada Posted June 15, 2023 Share Posted June 15, 2023 Sorry for spamming but i could not Edit my Post maybee because I am new to the Forum. I activated the Consolewrite in the glance.au3 and i get "-1" Result from the DllOpen, also replaced the File Name with the Full File Path but still the same Result Link to comment Share on other sites More sharing options...
Andreik Posted June 15, 2023 Share Posted June 15, 2023 @akanada are you using x64 version of AutoIt? akanada 1 When the words fail... music speaks. Link to comment Share on other sites More sharing options...
kcvinu Posted June 15, 2023 Author Share Posted June 15, 2023 @akanada, I think that's because of not setting the working directory. You can check this with these steps. 1. Open your script folder and start cmd from there. 2. Copy & paste the run command from SciTE editor to cmd and run. (SciTE will show you the running command in output window.) akanada 1 Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
argumentum Posted June 15, 2023 Share Posted June 15, 2023 (edited) 14 hours ago, akanada said: I have problems Running your Demo I added this: #AutoIt3Wrapper_UseX64=y If Not @AutoItX64 And Not @Compiled Then Exit ShellExecute(StringTrimRight(@AutoItExe, 4) & "_x64.exe", '"' & @ScriptFullPath & '"') If AutoItIsTooOld() Then Exit MsgBox(0, @ScriptName, "Your version of AutoIt is too old." & @LF & "Update and try again.", 60) Func AutoItIsTooOld($sMinVer = "3.3.15") ; also this. just in case map[] is not available If Version2Int($sMinVer) > Version2Int(@AutoItVersion) Then Return 1 EndFunc ;==>AutoItIsTooOld Func Version2Int($sVersion) ; works ok for upto 5 digit long Local $aArray = StringSplit(StringStripWS(StringReplace($sVersion & "....", ",", "."), 8), ".") Return Int(Int($aArray[1]) & StringRight('00000' & Int($aArray[2]), 5) & _ StringRight('00000' & Int($aArray[3]), 5) & StringRight('00000' & Int($aArray[4]), 5)) EndFunc ;==>Version2Int to make sure I'm running x64, and the version support maps. Edited June 15, 2023 by argumentum better code akanada 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
akanada Posted June 16, 2023 Share Posted June 16, 2023 (edited) Thanks for your Tips Guys, yes I am using the X64 Version. Working directory could be an issue because i have a mostly portable Version of Scite and Autoit. I will try on Monday, thank you and have a nice Weekend. Edited June 16, 2023 by akanada kcvinu 1 Link to comment Share on other sites More sharing options...
Mateocedillo Posted July 7, 2023 Share Posted July 7, 2023 Hi, First, thanks @kcvinker for this great work! I have a suggestion: can be add navigation through the controls using the keyboard? Something like what $ws_tapstop does. I ran the example code, but keyboard navigation (for example, using tab key) isn't possible. This can be useful to improve accessibility for blind people. Link to comment Share on other sites More sharing options...
kcvinu Posted July 9, 2023 Author Share Posted July 9, 2023 @Mateocedillo, Thanks for trying the library. Let me check the key navigation. Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
Mateocedillo Posted July 10, 2023 Share Posted July 10, 2023 19 hours ago, kcvinu said: @Mateocedillo, Thanks for trying the library. Let me check the key navigation. Hi @kcvinu, Thank you! I hope key accelerators or navigating will be implemented, I read through the wrapper glance.au3 and only found possible things that can be done with EventHandler (key_handle and key_press) of which I doubt that key accelerators can be set for all GUI controls that possible to create, I think it is related to the library in Nym. Please let me know news about this, and if you need to do tests regarding this function (eg. With a screen reader), I will be happy to do it. Link to comment Share on other sites More sharing options...
kcvinu Posted July 15, 2023 Author Share Posted July 15, 2023 @Mateocedillo Hi, It can be implemented from the Nim side. But I was busy in these days. I will sure look into it. Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
Mateocedillo Posted July 17, 2023 Share Posted July 17, 2023 On 7/9/2023 at 12:28 PM, kcvinu said: @Mateocedillo, Thanks for trying the library. Let me check the key navigation. Thanks! Good luck! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now