Click here to Skip to main content
15,904,652 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: count() function using STL Pin
markkuk26-May-04 11:55
markkuk26-May-04 11:55 
GeneralRe: count() function using STL Pin
BlackDice26-May-04 11:59
BlackDice26-May-04 11:59 
GeneralRe: count() function using STL Pin
Michael Dunn26-May-04 12:10
sitebuilderMichael Dunn26-May-04 12:10 
GeneralRe: count() function using STL Pin
BlackDice27-May-04 3:04
BlackDice27-May-04 3:04 
GeneralRe: count() function using STL Pin
toxcct26-May-04 22:56
toxcct26-May-04 22:56 
GeneralRe: count() function using STL Pin
BlackDice27-May-04 3:03
BlackDice27-May-04 3:03 
GeneralDirectShow and C++ (No-MFC) Pin
Paolo Ponzano26-May-04 10:33
Paolo Ponzano26-May-04 10:33 
GeneralRe: DirectShow and C++ (No-MFC) Pin
Antti Keskinen26-May-04 11:32
Antti Keskinen26-May-04 11:32 
When you start a playback, first check the length of the song. Then calculate time in a seperate thread timer that runs on a second's interval. This allows you to track the position in the song. The idea is just that you start the timer at the same time when you begin playing.

If you have the DirectX SDK fully installed on your machine, you also get the documentations. Open up the DirectX C++ documentation, and look in the Contents. Go to DirectShow -> DirectShow Tutorials -> Implementing a Seek Bar. There's a concrete example on how to create a seek bar. If you don't have the docs, you can see this topic in the MSDN by following this link.

Happy reading.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: DirectShow and C++ (No-MFC) Pin
Paolo Ponzano26-May-04 19:23
Paolo Ponzano26-May-04 19:23 
GeneralTreeCtrl in DialogBar in MFC MDI Pin
NTense26-May-04 9:58
NTense26-May-04 9:58 
GeneralRe: TreeCtrl in DialogBar in MFC MDI Pin
valikac26-May-04 13:20
valikac26-May-04 13:20 
GeneralWord Automation help Pin
C++NewBe26-May-04 9:54
C++NewBe26-May-04 9:54 
GeneralGet around having to use constants for 2d dynamic memory allocation Pin
aero6dyn26-May-04 9:45
aero6dyn26-May-04 9:45 
GeneralRe: Get around having to use constants for 2d dynamic memory allocation Pin
Rob Manderson26-May-04 10:39
protectorRob Manderson26-May-04 10:39 
GeneralRe: Get around having to use constants for 2d dynamic memory allocation Pin
aero6dyn27-May-04 8:00
aero6dyn27-May-04 8:00 
GeneralBitmap trace Pin
Vaclav26-May-04 9:25
Vaclav26-May-04 9:25 
GeneralDesparate Help needed Pin
dhermann26-May-04 8:52
dhermann26-May-04 8:52 
GeneralRe: Desparate Help needed Pin
GermanGeorge28-May-04 4:14
GermanGeorge28-May-04 4:14 
Generalpointer arithemetic (on an STL iterator) Pin
BlackDice26-May-04 7:29
BlackDice26-May-04 7:29 
GeneralRe: pointer arithemetic (on an STL iterator) Pin
BlackDice26-May-04 7:40
BlackDice26-May-04 7:40 
Generalgot it! Pin
BlackDice26-May-04 8:12
BlackDice26-May-04 8:12 
GeneralRe: pointer arithemetic (on an STL iterator) Pin
David Crow26-May-04 8:16
David Crow26-May-04 8:16 
GeneralVARIANT Pin
Roger H Art26-May-04 6:59
sussRoger H Art26-May-04 6:59 
GeneralRe: VARIANT Pin
mezla26-May-04 21:42
mezla26-May-04 21:42 
GeneralVARIANT Pin
Anonymous26-May-04 6:58
Anonymous26-May-04 6:58 

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.