S
Sephi berry via .NET 247
Hi
I'm having this problem of accessing the handle of a window.
I retrive it by:
Dim procs As Process() = Process.GetProcessesByName("ArcScene")
dim intHWND1 IntPtr = procs(0).Handle
and get a number BUT when i try to get a screenshot with
...
Dim hdcSrc As IntPtr = User32.GetWindowDC(handle)
...
I get Zero !
Any suggstions would be appriciated,
thanks
Sephi
I'm having this problem of accessing the handle of a window.
I retrive it by:
Dim procs As Process() = Process.GetProcessesByName("ArcScene")
dim intHWND1 IntPtr = procs(0).Handle
and get a number BUT when i try to get a screenshot with
...
Dim hdcSrc As IntPtr = User32.GetWindowDC(handle)
...
I get Zero !
Any suggstions would be appriciated,
thanks
Sephi