Search found 143 matches

by gallaxhar
20 Apr 2016, 15:45
Forum: Ask for Help (v1)
Topic: Don't understand returned object syntax for this function
Replies: 12
Views: 2146

Re: Don't understand returned object syntax for this function

no I wouldn't think to try it since that is not explained until now stupid concept, but nice to know, would be awesome if we didn't have to learn through random chance. also extremely misleading implementation on AHK's part, where variable names dont match but actually use the same contents, you jus...
by gallaxhar
20 Apr 2016, 15:37
Forum: Ask for Help (v1)
Topic: Don't understand returned object syntax for this function
Replies: 12
Views: 2146

Re: Don't understand returned object syntax for this function

just me that is located in LV_EX.ahk while LV_EX_usage.txt doesn't mention it, also the syntax you use in that note "HwndOfLV" would not work with the syntax you used in functions "HLV", just saying it's hard to piece together if you're don't already know how it works in AHK your docs aren't the pro...
by gallaxhar
20 Apr 2016, 00:22
Forum: Ask for Help (v1)
Topic: Don't understand returned object syntax for this function
Replies: 12
Views: 2146

Re: Don't understand returned object syntax for this function

Yes, thanks, I figured that might've been the problem, and I actually tried testing that, and I had read in the docs the way to get a hwnd for a control is by ControlGet so I tried this and about 15 other varients (moving the gui vVar and the gui gGosub stuff to different places, etc.) all was futil...
by gallaxhar
19 Apr 2016, 22:34
Forum: Ask for Help (v1)
Topic: Don't understand returned object syntax for this function
Replies: 12
Views: 2146

Re: Don't understand returned object syntax for this function

It doesn't work. I guess the lib/function is broken, no wonder I was pulling my hair out Here's the script I tested with Size:=LV_EX_CalcViewSize(HLV, 5) Height:=Size.H Width:=Size.W msgbox, %Height% %Width% return LV_EX_CalcViewSize(HLV, Rows := 0) { ; LVM_APPROXIMATEVIEWRECT = 0x1040 -> http://msd...
by gallaxhar
17 Apr 2016, 00:17
Forum: Ask for Help (v1)
Topic: Don't understand returned object syntax for this function
Replies: 12
Views: 2146

Re: Don't understand returned object syntax for this function

http://i.imgur.com/IKA3CS6.png Here is the docs page talking about Objects.Property what the hell is Property in real situations? is it the "H" in this example and the "W", why doesn't docs say properties can be names, vars, return-parameter-whatevers, why is there no helpful examples showing how t...
by gallaxhar
17 Apr 2016, 00:10
Forum: Ask for Help (v1)
Topic: Don't understand returned object syntax for this function
Replies: 12
Views: 2146

Don't understand returned object syntax for this function

I'm using just_me's LV_EX library for listviews One of his functions in that library is LV_EX_CalcViewSize(HLV, Rows := 0) Here is the readme for that function: ======================================================================================================================== LV_EX_CalcViewSize...
by gallaxhar
15 Apr 2016, 21:54
Forum: Tips and Tricks (v1)
Topic: [GUI] Use HTML and CSS for your GUIs!
Replies: 148
Views: 161918

Re: [GUI] Use HTML and CSS for your GUIs!

Yes but if I select let's say "Alaska" from that dropdown, how would AHK know I chose alaska, or chose anything at all?
by gallaxhar
15 Apr 2016, 17:34
Forum: Tips and Tricks (v1)
Topic: [GUI] Use HTML and CSS for your GUIs!
Replies: 148
Views: 161918

Re: [GUI] Use HTML and CSS for your GUIs!

Guys, it seems you really found something useful here, but for AHK-mediocres like me, can you please explain the limitations and usefulness of using html in our GUI's? For example, I want a nice looking listview with icons, adjustable width and height based on how many rows, filterable rows by searc...
by gallaxhar
15 Apr 2016, 17:23
Forum: Ask for Help (v1)
Topic: AHK Listview Height adjusting to how many rows there are?
Replies: 1
Views: 820

AHK Listview Height adjusting to how many rows there are?

I have a listview gui that I dynamically add/remove rows from The problem is, when I delete all but say 5 rows, there is a large blank area beneath the 5th row. Is there a way to adjust the height of a listview as rows are added/deleted (up to a maximum value of 7 rows visible for example). If not, ...
by gallaxhar
06 Apr 2016, 14:13
Forum: Ask for Help (v1)
Topic: Reading memory, specifically a pointer's value quickly, often, and without crashing
Replies: 2
Views: 3100

Re: Reading memory, specifically a pointer's value quickly, often, and without crashing

I seem to have fixed it myself, but I tried like 12 different things, not sure what fixed it. My hunch is that I combined the following lines ReadPointer:= new _ClassMemory("ahk_exe AutoSPRINK.exe", "", hProcessCopy) ReadPointer2 := new _ClassMemory("ahk_exe AutoSPRINK.exe", "", hProcessCopy) into R...
by gallaxhar
05 Apr 2016, 17:16
Forum: Ask for Help (v1)
Topic: Reading memory, specifically a pointer's value quickly, often, and without crashing
Replies: 2
Views: 3100

Reading memory, specifically a pointer's value quickly, often, and without crashing

I need to read two pointer values from an external process for my script. I tried to tackle this myself by googling, stumbled on RHCP's classMemory function, but it appears outdated/old. I got it to work however, but I noticed at random intervals between 5-30 minutes, my script would cause an error ...
by gallaxhar
28 Feb 2016, 06:43
Forum: Ask for Help (v1)
Topic: Make edit control default for alwaysontop ahk window
Replies: 7
Views: 1373

Re: Make edit control default for alwaysontop ahk window

no, I'm trying to give it similar behavior as basically a context menu, it's like a context menu but in listview form, with an edit box to search the contents the mouse of course scrolls the listview, left click selects, right click closes the "context menu listview edit box hybrid" altogether, and ...
by gallaxhar
28 Feb 2016, 06:32
Forum: Ask for Help (v1)
Topic: Make edit control default for alwaysontop ahk window
Replies: 7
Views: 1373

Re: Make edit control default for alwaysontop ahk window

your feedback led me to the answer, the script has grown quite long and I forgot there was a hotkey catching the left mouse button, which sent focus to the listview... im an idiot so the real problem now is I need to make any key press send focus to the edit control, while keeping left clicks and mo...
by gallaxhar
28 Feb 2016, 04:32
Forum: Ask for Help (v1)
Topic: Make edit control default for alwaysontop ahk window
Replies: 7
Views: 1373

Re: Make edit control default for alwaysontop ahk window

When another window tries to be active, it seems the alwaysontop keeps my listview active, when I try to type, it starts navigating the listview via keyboard by going to listview rows with those characters
by gallaxhar
28 Feb 2016, 04:13
Forum: Ask for Help (v1)
Topic: Make edit control default for alwaysontop ahk window
Replies: 7
Views: 1373

Make edit control default for alwaysontop ahk window

My ahk window has an edit control, and a listview. I have set the window to be always on top, by using this code: WinGet, active_id, ID, A WinSet, AlwaysOnTop, ON, ahk_id %active_id% The edit control has focus when the gui is first created, if I left click on another window, such as notepad, and the...
by gallaxhar
20 Feb 2016, 10:50
Forum: Ask for Help (v1)
Topic: ListView search / filter Topic is solved
Replies: 29
Views: 13362

Re: ListView search / filter Topic is solved

I learned the pieces I didn't understand with the docs and Geekdude/phaleth in IRC
by gallaxhar
20 Feb 2016, 10:36
Forum: Ask for Help (v1)
Topic: ListView search / filter Topic is solved
Replies: 29
Views: 13362

Re: ListView search / filter Topic is solved

@just me
man that last example is killer
almost 4000 items instantly searched in 41 lines of very readable code
seems like a winner
by gallaxhar
20 Feb 2016, 10:28
Forum: Ask for Help (v1)
Topic: ListView search / filter Topic is solved
Replies: 29
Views: 13362

Re: ListView search / filter Topic is solved

@listview or box strange, so you're putting all of the text from all of the rows into a single variable, listdata, and then testing if the searchstring is inside that variable, and if it is, somehow getting the row numbers for the rows? ---- @just me yes that latest example seems instant to me all t...
by gallaxhar
20 Feb 2016, 10:03
Forum: Ask for Help (v1)
Topic: ListView search / filter Topic is solved
Replies: 29
Views: 13362

Re: ListView search / filter Topic is solved

movie: http://i.imgur.com/awHyLKL.gifv

The only text row in the listview right now is Lorem ipsum dolor sit amet

It's probably a simple fix but I haven't looked yet, and I just randomly googled hide/show listview rows as it occurred to me that might work and found that code i pasted last
by gallaxhar
20 Feb 2016, 09:54
Forum: Ask for Help (v1)
Topic: ListView search / filter Topic is solved
Replies: 29
Views: 13362

Re: ListView search / filter Topic is solved

@just me while you were gone and after I found LV_EX, I went to the ahk irc and sjc1 or whatever his username is looked at the LV_EX_FindStringEx, remarked it was too weird for him to figure out what to do with the result of the function, him being vastly better at AHK than me, I assumed it was weir...

Go to advanced search