Posted by member 12025 on 2004-01-29 23:09:25
How does one get a s Skinbox in an LsBox?
Now, that shows up fine by itself. The box shows up fine.
Does nothing.
"Invalid window handle in box hook."
Now, I imagine it is as simple as getting the HWND...but how? All I've found for such a purpose so far is WinSpy++. Using that, I've tried the contents of the field labeled handle for the LsBox and the Skinbox.
So...now I'm stuck. Labels would work, but Skinbox is preferable, as it is easier to create the config (less typing) and easier to read it (it's nice having it set up as x y h w #? param value)
*SkinBox tester 5 5 5 5 #T Bitmap "C:\on.png"
Now, that shows up fine by itself. The box shows up fine.
*ModuleHook !SkinBoxLoadBoxHook te test.box 00040528
Does nothing.
!SkinBoxLoadBoxHook tester test.box 00040528
"Invalid window handle in box hook."
Now, I imagine it is as simple as getting the HWND...but how? All I've found for such a purpose so far is WinSpy++. Using that, I've tried the contents of the field labeled handle for the LsBox and the Skinbox.
So...now I'm stuck. Labels would work, but Skinbox is preferable, as it is easier to create the config (less typing) and easier to read it (it's nice having it set up as x y h w #? param value)