winforms - Capture a window inside my form -
i want capture window inside form, how can that? remember seeing code did this. worked window handle. behaves kind of winrar's extraction window:
sorry, english isn't main language. found wanted (but didn't work):
var hwindow: hwnd; begin hwindow := findwindow(nil,pchar(edit1.text)); //edit1.text window's handle if hwindow <> 0 begin form1.parentwindow := hwindow; end else showmessage('window not found!'); end;
the reason wanted because applications run on fullscreen present glitches because of wrong refresh rate on monitor. doing i'd force application run on known "borderless" mode. didn't work directx apps. sorry inconvenience.
Comments
Post a Comment