If I launch VLC via command line without a skin, then using another Windows C++ MFC based app, I can minimize, reposition, and resize the VLC window:
Code: Select all
CWnd *hWndVLC;
hWndVLC = FindWindow(NULL,"VLC media player");
CString s;
// verify we've go the right window
hWndVLC->GetWindowText(s);
MessageBox (s, "Caption of VLC" , MB_OK);
// minimize
hWndVLC->ShowWindow(SW_MINIMIZE);
// maximize
hWndVLC->ShowWindow(SW_MAXIMIZE);
//reposition (center on screen)
CWnd *hDesktop = CWnd::GetDesktopWindow();
hWndVLC->CenterWindow(hDesktop);