Search found 226 matches

by gwarble
26 Sep 2016, 12:14
Forum: Ask For Help
Topic: AutoComplete() (using iAutoComplete2) crashes script/ahk sometimes
Replies: 60
Views: 4771

Re: AutoComplete() (using iAutoComplete2) crashes script/ahk sometimes

Not that I've seen... unfortunately while its a nice end result, its kind of a black box as far as fine-tuning what you want (unfortunately i don't think there is any way to do custom ignored-prefixes, nor a way to return results mid-string (ie have "234" bring up item "12345") etc
by gwarble
22 Sep 2016, 19:51
Forum: Forum Issues
Topic: [solved] Sent messages still in Outbox
Replies: 3
Views: 1144

Re: [solved] Sent messages still in Outbox

Bumping an old thread to second this suggestion, i also had to google why my sent messages were stuck in the outbox All in "Sent" (except drafts) with a flag for received or not (icon, color, text, ?) would be more self explanatory "Outbox" already has a real world counterpart, a...
by gwarble
16 Sep 2016, 20:04
Forum: Ask For Help
Topic: AutoHotkey.dll StdLib Compiled Topic is solved
Replies: 18
Views: 4770

Re: AutoHotkey.dll StdLib Compiled Topic is solved

if you want to know the reason why its not working i believe its because the script will look in these three locations for a function not defined, but you dont have your stdlib in any of them: %A_ScriptDir%\Lib\ ; Local library - requires v1.0.90+. %A_MyDocuments%\AutoHotkey\Lib\ ; User library. pat...
by gwarble
16 Sep 2016, 19:03
Forum: Ask For Help
Topic: AutoHotkey.dll StdLib Compiled Topic is solved
Replies: 18
Views: 4770

Re: AutoHotkey.dll StdLib Compiled Topic is solved

Note: the links to _MemoryLibrary lead to autohotkey.net (Unwanted software/Malware reported site). Link works fine for me, sounds like a false positive from your antivirus software, anti-malware software, internet browser, firewall, or ISP Using my example from above, literally any script that con...
by gwarble
15 Sep 2016, 19:23
Forum: Ask For Help
Topic: AutoHotkey.dll StdLib Compiled Topic is solved
Replies: 18
Views: 4770

Re: AutoHotkey.dll StdLib Compiled Topic is solved

yup you can load the same dll for multiple threads... I also use _L with the dll in this way sometimes use: 0?FileInstall,AutoHotkey.dll,- Resource_Read(dlldata,"AutoHotkey.dll") MemLib1:=new _MemoryLibrary(&dlldata) MemLib2:=new _MemoryLibrary(&dlldata) with: Resource_Read(ByRef V...
by gwarble
14 Sep 2016, 20:44
Forum: Ask For Help
Topic: AutoHotkey.dll StdLib Compiled Topic is solved
Replies: 18
Views: 4770

Re: AutoHotkey.dll StdLib Compiled Topic is solved

Unrelated to your actual question, but it might drive your solution... are you planning to distribute it to other workstations? I'd highly recommend using _MemoryLibrary() from HotKeyIt instead of LoadLibrary to use the dll from resource, then you never have to extract to a_temp to begin with (thoug...
by gwarble
08 Sep 2016, 20:10
Forum: Ask For Help
Topic: Programmatically add cursor resource to Exe/Dll with UpdateResource api?
Replies: 14
Views: 1355

Re: Programmatically add cursor resource to Exe/Dll with UpdateResource api?

I'm just going to add as much info as I can in the hopes someone knows what I'm doing wrong... I'll also edit out a couple bits of misinformation above (re: differing struct sizes between ico and cur) So far, I'm keeping it integer based for simplicity, once working it should be trivial to change to...
by gwarble
04 Sep 2016, 13:34
Forum: Scripts and Functions
Topic: Optical Zoom For The Web Browser Control
Replies: 4
Views: 770

Re: Optical Zoom For The Web Browser Control

works on Win XP SP3
by gwarble
03 Sep 2016, 13:44
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2526

Re: [Lib] SplitButton()

cool, nice work... hButton_ was in there to save the hWnd from the initialization call into a static variable, so when the OnMessage call comes around the control's hWnd could be compared to the one initialized... since you are saving into a global class object its not really necessary, and my plan ...
by gwarble
02 Sep 2016, 18:08
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2526

Re: [Lib] SplitButton()

Cool, yeah it might work well for your program, although its really more intended for the primary function acting like a button which might not apply but it wouldn't really hurt anything Just an FYI, this isn't really "my system", its a new button style in windows vista+ (common controls 6...
by gwarble
02 Sep 2016, 16:36
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2526

Re: [Lib] SplitButton()

tmplinshi wrote:Nice! This is my trying by reading https://autohotkey.com/docs/commands/Gu ... htm#Custom:


Nice, thanks for sharing... Maybe this method can be used to create a "SizeGrip" control, which is really a ScrollBar class i believe, which I've been meaning to get working
by gwarble
01 Sep 2016, 13:00
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2526

Re: [Lib] SplitButton()

Seemingly, this button can be realized as a Custom control rather simply, though you might need to specify the height in most cases. The most important advantage is, that you don't have to monitor WM_NOTIFY messages. Oh really? I haven't played around with Gui, Add, Custom... controls before. Not h...
by gwarble
31 Aug 2016, 20:36
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2526

Re: [Lib] SplitButton()

Ahhh I love it. Thanks for sharing :) You're welcome... still needs improvement but might come in handy Hmmm, doesn't show any dropdown for me. I guess, it only supports 32 bit at the moment? Edit: Oh yeah, 32 bit works. Looks very useful. Thanks a lot! Oops, yeah I forgot to test on 64bit... shoul...
by gwarble
31 Aug 2016, 18:23
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2526

Re: [Lib] SplitButton()

Oops, I left the "GetDlgItem" call hard coded to the 7th control from my example... need to fix that, gimme a minute (i guess i'll save (static var) the hCtrl from the initialization call and compare that way instead, maybe an array of hCtrl and its associated menu name in...
by gwarble
31 Aug 2016, 17:46
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2526

[Lib] SplitButton()

http://www.gwarble.com/ahk/Screenshots/SplitButton.png Here's a proof-of-concept stdlib function for creating split buttons (drop down buttons). Needs more options built in (changing the glyph, styles, etc) but its a start... Enjoy A split button has a default action followed by a divider line and ...
by gwarble
22 Aug 2016, 01:27
Forum: Ask For Help
Topic: Gdip question, manipulate colors of image on DC
Replies: 0
Views: 224

Gdip question, manipulate colors of image on DC

Hey all, I'm trying to take an existing image on a DC and adjust its colors If i understand conceptually, i'm supposed to: 1) make a new memory device context 2) create a bitmap for the new DC 3) SelectObject that new bitmap into the new DC 4) BitBlt the contents of the original DC to the new memory...
by gwarble
19 Aug 2016, 18:06
Forum: Ask For Help
Topic: "Explorer" subclassed/themed Listview and TreeView controls, draw explorer style focus rectangle
Replies: 4
Views: 392

Re: "Explorer" subclassed/themed Listview and TreeView controls, draw explorer style focus rectangle

thanks man! that works for the drawing the rectangle (and for buttons!) now i think instead of drawing it on the window's DC i need to ownerdraw or customdraw the listview control, find the dc and rect where the rectangle would normally be drawn, prevent it, and DrawThemeBackground at that point htt...
by gwarble
19 Aug 2016, 15:46
Forum: Ask For Help
Topic: "Explorer" subclassed/themed Listview and TreeView controls, draw explorer style focus rectangle
Replies: 4
Views: 392

"Explorer" subclassed/themed Listview and TreeView controls, draw explorer style focus rectangle

Hey all, I recently discovered that you can use some of Windows' own classes for things to get your own guis to look more like windows explorer windows: SetWindowTheme(hListView, "ItemsView") ;or "Explorer" ;... SetWindowTheme(hwnd, str) { Return DllCall("uxtheme\SetWindowTh...
by gwarble
13 Aug 2016, 11:02
Forum: Ask For Help
Topic: AutoComplete() (using iAutoComplete2) crashes script/ahk sometimes
Replies: 60
Views: 4771

Re: AutoComplete() (using iAutoComplete2) crashes script/ahk sometimes

Well, would you provide an example? Otherwise I foresee questions like "I activated the SEARCH option, but nothing happens when I select it". there are any number of things you could do with the search string (in fact in my app i would just replace the "? " at the beginning of t...

Go to advanced search