Search found 1222 matches

by kczx3
12 Jan 2021, 21:10
Forum: Bug Reports
Topic: TreeView control doesn't show icons if IconType = 2 was specified
Replies: 5
Views: 116

Re: TreeView control doesn't show icons if IconType = 2 was specified

Are you sure?
Otherwise, specify 2 for state icons (which are not yet directly supported, but could be used via SendMessage)
by kczx3
07 Jan 2021, 12:10
Forum: Scripts and Functions
Topic: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids
Replies: 64
Views: 13851

Re: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids

@KiddoV
See here - https://github.com/G33kDude/Neutron.ahk/issues/2

EDIT: Actually, if you instead download the source code, it should work. Updates have been made to the accelerator handling but have not been incorporated into a GitHub "Release".
by kczx3
04 Jan 2021, 11:26
Forum: AutoHotkey v2 Help
Topic: InputHook - KeyOpt I option
Replies: 3
Views: 124

Re: InputHook - KeyOpt I option

@Helgef
Might you be able to offer an alternative method to achieve my desired goal?
by kczx3
01 Jan 2021, 16:45
Forum: AutoHotkey v2 Help
Topic: Determine fat arrow function parameters at time of declaration Topic is solved
Replies: 4
Views: 111

Re: Determine fat arrow function parameters at time of declaration Topic is solved

I don’t something like that but on the GUI object. Not sure if it’s not recommended or not
by kczx3
22 Dec 2020, 13:44
Forum: Scripts and Functions
Topic: Excel - Highlighting (underlining) the active row
Replies: 16
Views: 502

Re: Excel - Highlighting (underlining) the active row

It makes use of events provided by the Excel COM implementation instead of relying on a timer that runs every 100 milliseconds.

Also, no idea why you'd get that from my code as what I provided doesn't include any MsgBoxes.
by kczx3
22 Dec 2020, 10:36
Forum: Scripts and Functions
Topic: Excel - Highlighting (underlining) the active row
Replies: 16
Views: 502

Re: Excel - Highlighting (underlining) the active row

It would be a lot more work but I'd probably go with using an actual Excel event to handle this. Here's a rough start: #Persistent global color := "00cccc", line := 2 xl := ComObjCreate("Excel.Application") xl.visible := true ComObjConnect(xl, "xl_") ; 0x3 - EVENT_SYSTEM_FOREGROUND DllCall("SetWinEv...
by kczx3
18 Dec 2020, 10:24
Forum: Ask For Help
Topic: Grid of Checkboxes Topic is solved
Replies: 14
Views: 1096

Re: Grid of Checkboxes Topic is solved

I see no way to handle this other than custom drawing the listview to draw the icon to the right by a couple pixels. It happens with images besides the checkboxes and also happens if you don't enable the Explorer style for the control. I also tried applying the Grid option after the addition of the ...
by kczx3
17 Dec 2020, 19:43
Forum: Ask For Help
Topic: Grid of Checkboxes Topic is solved
Replies: 14
Views: 1096

Re: Grid of Checkboxes Topic is solved

None of the concept code does any manual drawing so I’m not sure what you could do to fix that
by kczx3
17 Dec 2020, 17:26
Forum: Ask For Help
Topic: Grid of Checkboxes Topic is solved
Replies: 14
Views: 1096

Re: Grid of Checkboxes Topic is solved

Do you mean grid lines when you say “guides”?
by kczx3
16 Dec 2020, 09:50
Forum: AutoHotkey v2 Development
Topic: [WISH] formatted string literals
Replies: 4
Views: 624

Re: [WISH] formatted string literals

I’m partial to template literals too
by kczx3
14 Dec 2020, 16:38
Forum: Ask For Help
Topic: Enumeration constants?
Replies: 13
Views: 702

Re: Enumeration constants?

Constant values typically are not "created on-demand". They are initialized (and often global, such as in PHP) once. It seems like maybe you want some kind of calculated/dynamic default? Constants, especially enumerations, are probably never dynamic. Making the obect static inside the function just ...
by kczx3
14 Dec 2020, 13:32
Forum: AutoHotkey v2 Help
Topic: InputHook - KeyOpt I option
Replies: 3
Views: 124

InputHook - KeyOpt I option

I have some code that uses an InputHook which starts by ignoring all characters and then selectively allowing certain ones. The problem I am having is that the char parameter passed to the OnChar callback seems to allow more than what I've specified. For example, the following code allows the number...
by kczx3
11 Dec 2020, 13:09
Forum: AutoHotkey v2 Help
Topic: Simulaty a file drag-and-drop into an app Topic is solved
Replies: 4
Views: 99

Re: Simulaty a file drag-and-drop into an app Topic is solved

You’ll also have to program a way to actually put files on the clipboard. That’s a whole other thing...

EDIT: Looks like Lexikos wrote something for this a long while ago - https://autohotkey.com/board/topic/23162-how-to-copy-a-file-to-the-clipboard/?p=150209
by kczx3
11 Dec 2020, 10:55
Forum: AutoHotkey v2 Help
Topic: Simulaty a file drag-and-drop into an app Topic is solved
Replies: 4
Views: 99

Re: Simulaty a file drag-and-drop into an app Topic is solved

I think you'd have to create a drag source and hopefully the target app is registered as a drop target...

Maybe this helps (though it is written in AHK v1) - https://github.com/AHK-just-me/DoDragDrop
by kczx3
11 Dec 2020, 09:49
Forum: AutoHotkey v2 Help
Topic: Extending the File Object?
Replies: 2
Views: 87

Re: Extending the File Object?

I don't believe that the File class is currently available globally from script. There's other classes that a similar strategy has to be used with I think. You basically have to use FileOpen to create an instance of a File object and then define a method on that object's base property. Something lik...
by kczx3
10 Dec 2020, 20:52
Forum: Ask For Help
Topic: Sending class members to functions?
Replies: 4
Views: 108

Re: Sending class members to functions?

Pretty sure they have to be plain variables. You can have it output to class properties.
by kczx3
08 Dec 2020, 21:33
Forum: AHK Studio
Topic: AHK Studio
Replies: 1153
Views: 435390

Re: AHK Studio

Probably because you downloaded a release rather than the current development code. Or you downloaded from a different branch
by kczx3
06 Dec 2020, 17:31
Forum: Ask For Help
Topic: How to view PDF with Windows API? (PDF -> bitmap)
Replies: 18
Views: 1151

Re: How to view PDF with Windows API? (PDF -> bitmap)

Interesting. That seems a bit extreme.

Go to advanced search