블로그 이미지
Kanais
Researcher & Developer 퍼즐을 완성하려면 퍼즐 조각들을 하나 둘씩 맞춰나가야 한다. 인생의 퍼즐 조각들을 하나 둘씩 맞춰나가다 보면 인생이란 퍼즐도 완성되는 날이 오려나...?

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Notice

05-02 09:56

Recent Post

Recent Comment

Recent Trackback

Archive

2016. 5. 27. 14:48 Computer Vision/OpenCV

운영체제 : Windows 8.1 64bit

개발툴 : Visual Studio 2013

작성날짜 : 2016-05-27



참고 : OpenCV - To remove opencv title bar

        NARKIVE - Window Title Bar


  

  cvNamedWindow("Image_Window", 0);

  HWND m_hMediaWindow = (HWND)cvGetWindowHandle("Image_Window");

  // change style of the child HighGui window

  DWORD style = ::GetWindowLong(m_hMediaWindow, GWL_STYLE);

  style &= ~WS_OVERLAPPEDWINDOW;

  style |= WS_POPUP;

  ::SetWindowLong(m_hMediaWindow, GWL_STYLE, style);


  // change style of the parent HighGui window

  HWND hParent = ::FindWindow(0, "Image_Window");

  style = ::GetWindowLong(hParent, GWL_STYLE);

  style &= ~WS_OVERLAPPEDWINDOW;

  style |= WS_POPUP;

  ::SetWindowLong(hParent, GWL_STYLE, style);



실행화면



posted by Kanais