making swf play Full-window size
Posted: Wed Dec 08, 2010 11:43 am
IDD_Sample01_SWF_And_FLV_Player_DIALOG DIALOGEX 0, 0, 640, 480
i add WS_MAXIMIZE or WS_MINIMIZE styles here but they doesn't work, maybe i do something wrong? i want to start program maximized
and the main thing, how do i make swf movie follow size of the window?
code to create movie:
where 800 and 600 shouldn't be static but be same as window size
i use Sample01_SWF_And_FLV_Player as a template
Code: Select all
STYLE WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE |
WS_CAPTION | WS_SYSMENU
i add WS_MAXIMIZE or WS_MINIMIZE styles here but they doesn't work, maybe i do something wrong? i want to start program maximized
and the main thing, how do i make swf movie follow size of the window?
code to create movie:
Code: Select all
m_hwndFlashPlayerControl =
CreateWindow((LPCTSTR)FPC_GetClassAtom(theApp.m_hFPC),
NULL,
WS_CHILD | WS_CLIPSIBLINGS | WS_VISIBLE,
0,
0,
800,
600,
m_hWnd,
NULL,
NULL,
NULL);
where 800 and 600 shouldn't be static but be same as window size
i use Sample01_SWF_And_FLV_Player as a template