0
0

[code:3c40kwff]
void CMainDlg::OnReleasedcaptureSlider2(NMHDR* pNMHDR, LRESULT* pResult)
{
unsigned int lenms, currtime;

musicChannel->getPosition(&currtime,FMOD_TIMEUNIT_MS);

music->getLength(&lenms,FMOD_TIMEUNIT_MS);
unsigned int LengthMs = lenms;
m_lenslider.SetPos((float)currtime/(float)LengthMs * 1000.0f);

*pResult = 0;

}
[/code:3c40kwff]

doesnt work..why?

  • You must to post comments
0
0

You’ll need to provide more information about what "doesn’t work" before anyone can help you.

  • You must to post comments
0
0

lol..headache

forgot my timer and switched that to my timer code..lol ive been going all day

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.