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: wrar

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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -