bluelake
unread,Apr 30, 2013, 10:00:12 AM4/30/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scintilla...@googlegroups.com
I'm posting this in case I'm doing something obviously wrong or am obviously misunderstanding something, but SciTE's WindowID property does not seem to match the hwnd I am getting through other means for the window.
I'm using simple LUA code to pull the value of the WindowID property:
print( '<' .. props['FilePath'] .. '><' .. props['WindowID'] .. '>' )
This gives me something like 3083060.
When I use WinSpy++ to get the hwnd of the editor window, I get something like 0x2e0962 (ie decimal 3017058), which invariably does not match the value from the SciTE property. I've also done a quick AutoHotkey script, and it agrees consistently with WinSpy++, not WindowID.
Am I misunderstanding something? Is WindowID not the hwnd of the SciTE window? I'm running on a 64-bit Win7 machine, though my understanding is hwnds are consistent between 32-bit and 64-bit systems.
Thanks in advance if anyone sees what I'm missing!
--John