embedding hwnd outmost slight controlling setparent
i'm perplexing hide window slight window an outmost slight controlling setparent duty have encountered few problems i'm anticipating someone assistance me out with. initial off, here an outline i am now doing hide window application:
hwnd mywindow; //handle concentration window
hwnd externalwindow; //handle outmost concentration window
setparent(mywindow,externalwindow);
//remove ws_popup impression supplement ws_child style
dword impression = getwindowlong(mywindow,gwl_style);
style = impression & ~(ws_popup);
style = impression | ws_child;
setwindowlong(mywindow,gwl_style,style);
this formula works window appears application, nonetheless introduces following issues:
- when window gains quarrel focus, sure concentration window outmost slight loses concentration (i.e. due bar changes color)
- keyboard by-pass commands sure concentration work while window focus
does anybody know workaround this? i window treated only another child window sure application.
Comments
Post a Comment