OpenCV study notes (16) open to create a borderless window display

 

 

https://blog.csdn.net/weixin_41794771/article/details/93198098

Explain address

1 // Get the name of the window handle the window winName 
the HWND win_handle the FindWindow = (0, winName); 
// 2 for determining the position of the window in the upper left corner of the screen coordinates xy HWND_TOPMOST SWP_SHOWWINDOW display picture image height width 
SetWindowPos (win_handle, HWND_TOPMOST, 0, 0, SCREENWIDTH, sCREENHEIGHT, SWP_SHOWWINDOW); // set the window position and size 
// window style change GWL_STYLE 3 rimless format 
SetWindowLong (win_handle, GWL_STYLE, GetWindowLong ( win_handle, GWL_EXSTYLE | WS_EX_TOPMOST)); // window style change 
/ / 4 is provided on the window with the use 
ShowWindow (win_handle, SW_SHOW);

  

 

Guess you like

Origin www.cnblogs.com/kekeoutlook/p/11681960.html