I know I've asked this before, but I simply can't remember how to do it.
How do I get the pointer (handle to a window? - not a control within it.)
Searched all over the forum and just can't find it.
Working on an include file which I want to share, but I do need to find the handle of the current window
where say "win" is the created / showing window.
Basically I want to pass two details to a sub routine - Window, and Control number.
DoSomething(Win,Button_1) - where win is the current shown screen.
And if I was to save that pointer to win - would it be an INT or UINT etc...?
Thanks,
Andy.
:)
window w1
'handle to window
w1.hwnd
I think this is right.
Later,
Clint
Clint is correct and win.hwnd is UINT
Clint and Larry,
Thanks, just couldn't remember it.
Andy.
:)