Click here to Skip to main content
16,005,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Programmatically determine if a particular assembly is registered in GAC Pin
Rajkumar R20-May-08 4:03
Rajkumar R20-May-08 4:03 
GeneralRe: Programmatically determine if a particular assembly is registered in GAC Pin
Mushtaque Nizamani20-May-08 4:38
Mushtaque Nizamani20-May-08 4:38 
GeneralRe: Programmatically determine if a particular assembly is registered in GAC Pin
Rajkumar R20-May-08 17:20
Rajkumar R20-May-08 17:20 
AnswerRe: Programmatically determine if a particular assembly is registered in GAC Pin
leckey20-May-08 6:17
leckey20-May-08 6:17 
Questionhow to remove year option in Date Time picker control Pin
varun0120-May-08 2:56
varun0120-May-08 2:56 
AnswerRe: how to remove year option in Date Time picker control Pin
Rajkumar R20-May-08 3:08
Rajkumar R20-May-08 3:08 
GeneralRe: how to remove year option in Date Time picker control Pin
varun0120-May-08 19:09
varun0120-May-08 19:09 
QuestionUsing MCIWndPutSource Pin
goodoljosh198020-May-08 2:30
goodoljosh198020-May-08 2:30 
I am using the MCIWnd class to play a video within my MFC application. However, the video location in the UI defaults to the upper left hand corner. I am trying to move that location using the MCIWndPutSource function.

Here is what I am trying:

m_Player = MCIWndCreate(GetSafeHwnd(),AfxGetInstanceHandle(),
	WS_CHILDWINDOW | WS_VISIBLE | MCIWNDF_NOMENU, name);
	
	RECT *temp = new RECT;
	temp->left = 0;
	temp->top = 500;
	temp->right = 320;
	temp->bottom = 740;

	MCIWndSetZoom(m_Player, 200);
	MCIWndPutSource(m_Player, temp);
	MCIWndPlay(m_Player);


After the PutSource call, if I call the GetSource function, it returns back the original coordinates as if I did not move the location at all.

Anyone have an idea why this isn't working, or how I can accomplish this another way?

Thanks for anything.
AnswerRe: Using MCIWndPutSource Pin
Hamid_RT20-May-08 2:34
Hamid_RT20-May-08 2:34 
AnswerRe: Using MCIWndPutSource Pin
Rajkumar R20-May-08 2:50
Rajkumar R20-May-08 2:50 
GeneralRe: Using MCIWndPutSource Pin
goodoljosh198020-May-08 3:04
goodoljosh198020-May-08 3:04 
AnswerRe: Using MCIWndPutSource Pin
Rajkumar R20-May-08 3:17
Rajkumar R20-May-08 3:17 
GeneralRe: Using MCIWndPutSource Pin
goodoljosh198020-May-08 4:13
goodoljosh198020-May-08 4:13 
GeneralRe: Using MCIWndPutSource Pin
Rajkumar R20-May-08 4:21
Rajkumar R20-May-08 4:21 
QuestionProblem in getting WM_KILLFOCUS Pin
ashtwin20-May-08 2:25
ashtwin20-May-08 2:25 
AnswerRe: Problem in getting WM_KILLFOCUS Pin
Rajkumar R20-May-08 2:39
Rajkumar R20-May-08 2:39 
GeneralRe: Problem in getting WM_KILLFOCUS Pin
ashtwin20-May-08 16:16
ashtwin20-May-08 16:16 
AnswerRe: Problem in getting WM_KILLFOCUS Pin
Rajkumar R20-May-08 21:41
Rajkumar R20-May-08 21:41 
GeneralRe: Problem in getting WM_KILLFOCUS Pin
ashtwin21-May-08 19:00
ashtwin21-May-08 19:00 
QuestionGetting rid of this error... Pin
pl_kode20-May-08 2:14
pl_kode20-May-08 2:14 
AnswerRe: Getting rid of this error... Pin
Cedric Moonen20-May-08 2:22
Cedric Moonen20-May-08 2:22 
AnswerRe: Getting rid of this error... Pin
Cedric Moonen20-May-08 2:28
Cedric Moonen20-May-08 2:28 
QuestionConnect database when start with window Pin
capint20-May-08 1:52
capint20-May-08 1:52 
AnswerRe: Connect database when start with window Pin
Rajesh R Subramanian20-May-08 1:56
professionalRajesh R Subramanian20-May-08 1:56 
GeneralRe: Connect database when start with window Pin
capint20-May-08 2:02
capint20-May-08 2:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.