Click here to Skip to main content
16,011,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Killing a Process Pin
ThatsAlok30-Nov-05 21:39
ThatsAlok30-Nov-05 21:39 
QuestionVC6.0 vs VC8.0 any links please Pin
narayanagvs30-Nov-05 18:00
narayanagvs30-Nov-05 18:00 
AnswerRe: VC6.0 vs VC8.0 any links please Pin
BadKarma30-Nov-05 22:54
BadKarma30-Nov-05 22:54 
QuestionPushbutton in a toolbar Pin
RoyceF30-Nov-05 17:15
RoyceF30-Nov-05 17:15 
AnswerRe: Pushbutton in a toolbar Pin
Owner drawn30-Nov-05 19:07
Owner drawn30-Nov-05 19:07 
QuestionOwner drawn CListCtrl items too spaced out on Win2K (picture). Pin
Haywire Guy30-Nov-05 17:01
Haywire Guy30-Nov-05 17:01 
QuestionHaving trouble overriding WndProc in VC8 Managed C++ Windows Form Pin
dxben30-Nov-05 16:29
dxben30-Nov-05 16:29 
QuestionWMP ActiveX SetProperty Issues Pin
zorba99030-Nov-05 14:50
zorba99030-Nov-05 14:50 
I am using a Windows Media Player ActiveX control in my CFormView.
I am having trouble retrieving some of the properties.

This works:

m_cVideoControl.SetProperty(DISPID_WMPCORE_URL, VT_BSTR, m_pDocument->GetPathName());

but this does not (it fails returning VT_EMPTY inside MFC):

void CMyApp::PlayStateChangeVideoControl(long NewState)
{
if (NewState == wmppsPlaying)
{
CString cTime;
m_cVideoControl.GetProperty(DISPID_WMPCONTROLS3_CURRENTPOSITIONTIMECODE,
VT_BSTR, (void *)&cTime);

UpdateData(FALSE);
}
}


All of the examples use VB, javascript, etc and seem to be accessing the
player.controls.currentPositionTimecode
I am unsure as to how to accesing this sub group "controls" using GetProperty

In case you are wondering I am using MFC not ATL and I let BEGIN_EVENTSINK_MAP
handle event sinking for me (which works fine).

thanks for any help...







AnswerRe: WMP ActiveX SetProperty Issues Pin
zorba99030-Nov-05 17:33
zorba99030-Nov-05 17:33 
QuestionHow to do it in the most easy way Pin
LaHaHa30-Nov-05 13:39
LaHaHa30-Nov-05 13:39 
QuestionHow to Fix error C2105 ? Pin
rat.crown30-Nov-05 13:08
rat.crown30-Nov-05 13:08 
AnswerRe: How to Fix error C2105 ? Pin
Nilesh K.1-Dec-05 23:37
Nilesh K.1-Dec-05 23:37 
QuestionCreating an automated build process - where do I start? Pin
Ian Bowler30-Nov-05 9:56
Ian Bowler30-Nov-05 9:56 
QuestionRe: Creating an automated build process - where do I start? Pin
David Crow30-Nov-05 10:01
David Crow30-Nov-05 10:01 
AnswerRe: Creating an automated build process - where do I start? Pin
Ian Bowler30-Nov-05 10:23
Ian Bowler30-Nov-05 10:23 
GeneralRe: Creating an automated build process - where do I start? Pin
Chris Losinger30-Nov-05 10:40
professionalChris Losinger30-Nov-05 10:40 
GeneralRe: Creating an automated build process - where do I start? Pin
Ian Bowler30-Nov-05 10:57
Ian Bowler30-Nov-05 10:57 
GeneralRe: Creating an automated build process - where do I start? Pin
Chris Losinger30-Nov-05 14:08
professionalChris Losinger30-Nov-05 14:08 
GeneralRe: Creating an automated build process - where do I start? Pin
David Crow30-Nov-05 10:49
David Crow30-Nov-05 10:49 
GeneralRe: Creating an automated build process - where do I start? Pin
Ian Bowler30-Nov-05 10:52
Ian Bowler30-Nov-05 10:52 
GeneralRe: Creating an automated build process - where do I start? Pin
PJ Arends30-Nov-05 10:57
professionalPJ Arends30-Nov-05 10:57 
GeneralRe: Creating an automated build process - where do I start? Pin
Ian Bowler30-Nov-05 11:04
Ian Bowler30-Nov-05 11:04 
GeneralRe: Creating an automated build process - where do I start? Pin
Graham Bradshaw30-Nov-05 11:39
Graham Bradshaw30-Nov-05 11:39 
AnswerRe: Creating an automated build process - where do I start? Pin
Graham Bradshaw30-Nov-05 11:38
Graham Bradshaw30-Nov-05 11:38 
AnswerRe: Creating an automated build process - where do I start? Pin
SilentSilent1-Dec-05 0:28
SilentSilent1-Dec-05 0:28 

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.