Hi @garry,
spaces or more than 63 characters are no problem as long as the resulting "ControlID" is unique for all controls which can use contents as "ID" repectively is not the leading part of the "ID" of another control added before.
Search found 9364 matches
- Yesterday, 06:40
- Forum: Ask for Help (v1)
- Topic: Problems with GUI button names
- Replies: 14
- Views: 166
- Yesterday, 03:25
- Forum: Scripts and Functions (v2)
- Topic: Class ToolTipOptions - 2024-03-27
- Replies: 15
- Views: 3082
Re: Class ToolTipOptions - 2024-03-27
Hi @dipahk, thanks, fixed!
- Yesterday, 03:14
- Forum: Scripts and Functions (v2)
- Topic: AHK v2 - ListViewExtensions (alpha.1) - 2024-02-13
- Replies: 14
- Views: 1747
Re: AHK v2 - ListViewExtensions (alpha.1) - 2024-02-13
Hi @Spitzi,
the only way I know is to add (invisible) icons with a height of multiple rows.
the only way I know is to add (invisible) icons with a height of multiple rows.
- Yesterday, 02:52
- Forum: Ask for Help (v1)
- Topic: Problems with GUI button names
- Replies: 14
- Views: 166
Re: Problems with GUI button names
5) However, with the following two file names (and displayed name buttons) it goes in confusion: "launcher - copy" and "launcher". When I pressed the second button (with the second name: launcher) Button_Name picks up the first name: launcher - copy. If you try to get a GUI button by its caption us...
- 26 Mar 2024, 06:34
- Forum: Ask for Help (v1)
- Topic: Problems with GUI button names
- Replies: 14
- Views: 166
Re: Problems with GUI button names
Seems that you have a pseudo-array of filenames displayed in buttons. Also it seems that you are using a loop to create the buttons. If so, you can add unique names to your buttons: Gui, 1: Add, Button, w275 h20 x5 y%YPos% gRun vBtn%A_Index%, % FileName%A_Index% ; <<<<< added vBtn%A_Index% After thi...
- 23 Mar 2024, 04:10
- Forum: Ask for Help (v2)
- Topic: How to obtain the memory address of a variable in AutoHotkey v2?
- Replies: 20
- Views: 608
Re: How to obtain the memory address of a variable in AutoHotkey v2?
Hello, what do you need it for?
- 22 Mar 2024, 17:41
- Forum: Ask for Help (v2)
- Topic: Tooltips for truncated items in ListView are not correctly updated when ActiveX control is added
- Replies: 7
- Views: 237
Re: Tooltips for truncated items in ListView are not correctly updated when ActiveX control is added
https://www.autohotkey.com/boards/viewtopic.php?p=564279#p564279: 1. how to retrieve the row and column number of the listview item which is currently under the mouse LVM_SUBITEMHITTEST (0x1039) 2. how to detect if the text of the current listview item is truncated (only in this case I want to displ...
- 22 Mar 2024, 04:48
- Forum: Ich brauche Hilfe
- Topic: tab3 zeilenumbruch zählen Topic is solved
- Replies: 4
- Views: 89
Re: tab3 zeilenumbruch zählen Topic is solved
Vielleicht: TCM_GETITEMRECT (0x130A) ; RECT structure -> https://learn.microsoft.com/en-us/windows/win32/api/windef/ns-windef-rect VarSetCapacity(RECT, 16, 0) SendMessage, 0x130A, 0, &RECT, , ahk_id %thisTab_HWND% ItemHeight := NumGet(RECT, 12, "Int") - NumGet(RECT, 4, "Int") ; unten - oben Übrigens...
- 22 Mar 2024, 02:56
- Forum: Ich brauche Hilfe
- Topic: tab3 zeilenumbruch zählen Topic is solved
- Replies: 4
- Views: 89
Re: tab3 zeilenumbruch zählen Topic is solved
Moin,
schau mal da: TCM_GETROWCOUNT (0x132C):
schau mal da: TCM_GETROWCOUNT (0x132C):
Code: Select all
SendMessage, 0x132C, 0, 0, , ahk_id %TabControlHwnd%
RowCount := ErrorLevel
- 21 Mar 2024, 03:53
- Forum: Ask for Help (v2)
- Topic: Tooltips for truncated items in ListView are not correctly updated when ActiveX control is added
- Replies: 7
- Views: 237
Re: Tooltips for truncated items in ListView are not correctly updated when ActiveX control is added
If I position my mouse over the first row of column D, a tooltip with "Col D Row 111111111111111111111111111" appears. When I then move the mouse for example to the last row of column D the original tooltip "Col D Row 111111111111111111111111111" remains shown for some time before it disappears. I ...
- 21 Mar 2024, 03:46
- Forum: Ask for Help (v2)
- Topic: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
- Replies: 12
- Views: 294
Re: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
#Requires AutoHotkey v2.0 Items := ["aaa", "bbb", "ccc", "ddd", "eee"] G1 := Gui( , "Test") G1LV1 := g1.AddListView("-Hdr", ["11", "22222222222"]) G1LV1.OnEvent("Click", LV_Clicked) ; v1 event "Normal" G1LV1.OnNotify(-155, LVN_KEYDOWN) ; v1 event "K" For Idx, Txt In Items G1LV1.Add( , Idx, Txt) G1....
- 20 Mar 2024, 17:29
- Forum: Ask for Help (v2)
- Topic: Tooltips for truncated items in ListView are not correctly updated when ActiveX control is added
- Replies: 7
- Views: 237
Re: Tooltips for truncated items in ListView are not correctly updated when ActiveX control is added
Your script is working flawlessly here (Win 10 22H2, AHK 2.0.11).
- 20 Mar 2024, 06:48
- Forum: Ask for Help (v2)
- Topic: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
- Replies: 12
- Views: 294
Re: how to auto-hide a gui when the gui window is inactive? thanks Topic is solved
OnMessage(0x86,emptyFun) In v2, this line doesn't replace the previously assigned message handler function, it just adds a second handler. Try #Requires AutoHotkey v2.0 g := Gui() g.AddText 'w230', 'Test' showgui() return F3::showgui() showgui() { g.show OnMessage(0x86, ListviewGuiLostFocus) return...
- 20 Mar 2024, 04:34
- Forum: Ask for Help (v2)
- Topic: Please help me convert this autoit file to ahk
- Replies: 1
- Views: 93
Re: Please help me convert this autoit file to ahk
Not tested: #Requires AutoHotkey v2.0 _MouseClickPlus(hWnd, vX := '', vY := '', sButton := 'left', iClicks := 1) { Static MK_LBUTTON := 0x0001, WM_LBUTTONDOWN := 0x0201, WM_LBUTTONUP := 0x0202, MK_RBUTTON := 0x0002, WM_RBUTTONDOWN := 0x0204, WM_RBUTTONUP := 0x0205, WM_MOUSEMOVE := 0x0200 Local Butto...
- 20 Mar 2024, 04:00
- Forum: Ask for Help (v1)
- Topic: generate small png from color under mouse possible?
- Replies: 4
- Views: 91
- 20 Mar 2024, 02:28
- Forum: Ask for Help (v1)
- Topic: Loading data blob to the Clipboard (using WinClip library)
- Replies: 7
- Views: 160
Re: Loading data blob to the Clipboard (using WinClip library)
Hi JnLlnd , oRecordSet.Next(saDbRow) ; get first (and only) row in the table oRecordSet.Free() this.intClipboardAllSize := saDbRow[1].Size this.intClipboardAllAddr := saDbRow[1].GetAddress("Blob") intAddr := this.intClipboardAllAddr intSize := this.intClipboardAllSize VarSetCapacity(oBlob, intSize) ...
- 19 Mar 2024, 04:16
- Forum: Ask for Help (v2)
- Topic: How to checked/unchecked a row of a ListView by clicking on the text of that row
- Replies: 6
- Views: 189
Re: How to checked/unchecked a row of a ListView by clicking on the text of that row
A click on the CheckBox doesn't select the item, but you can check the Click event instead.
- 18 Mar 2024, 02:56
- Forum: Ask for Help (v1)
- Topic: Loading data blob to the Clipboard (using WinClip library)
- Replies: 7
- Views: 160
Re: Loading data blob to the Clipboard (using WinClip library)
Hi JnLlnd , there are only 2 possibilities to return 0 from _toclipboard() : if !WinClipAPI.OpenClipboard() The clipboard couldn't be opened. while ( offset < size ) { ... Size is 0 or less or the contents of data is invalid. You can simply check it by adding a few message boxes to _toclipboard() to...
- 17 Mar 2024, 08:34
- Forum: Scripts and Functions (v2)
- Topic: Class ToolTipOptions - 2024-03-27
- Replies: 15
- Views: 3082
Re: Class ToolTipOptions - 2024-03-17
Hi @kunkel321,
thanks! I changed the class to support 6-xdigit color strings. (I mistakenly assumed that AHK v2 doesn't support such color strings any more.)
Continue to have fun with AHK!
thanks! I changed the class to support 6-xdigit color strings. (I mistakenly assumed that AHK v2 doesn't support such color strings any more.)
Continue to have fun with AHK!
- 17 Mar 2024, 07:45
- Forum: Ask for Help (v1)
- Topic: Loading data blob to the Clipboard (using WinClip library)
- Replies: 7
- Views: 160
Re: Loading data blob to the Clipboard
At least:
dataBuff must be passed ByRef.
Code: Select all
class WinClipJL extends WinClip
{
SetData( dataBuff, dataSize )