Click here to Skip to main content
15,909,898 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ Dialog Control Pin
Monty29-Jan-05 20:44
Monty29-Jan-05 20:44 
GeneralRe: VC++ Dialog Control Pin
FlyingTinman12-Jan-05 12:45
FlyingTinman12-Jan-05 12:45 
GeneralPass paramters to an application while openning a file Pin
ytod9-Jan-05 15:44
ytod9-Jan-05 15:44 
GeneralRe: Pass paramters to an application while openning a file Pin
ThatsAlok9-Jan-05 17:21
ThatsAlok9-Jan-05 17:21 
GeneralRe: Pass paramters to an application while openning a file Pin
ytod9-Jan-05 18:40
ytod9-Jan-05 18:40 
GeneralRe: Pass paramters to an application while openning a file Pin
Anonymous9-Jan-05 19:33
Anonymous9-Jan-05 19:33 
GeneralRe: Pass paramters to an application while openning a file Pin
ThatsAlok9-Jan-05 20:23
ThatsAlok9-Jan-05 20:23 
GeneralNeed some help Pin
Member 16182599-Jan-05 15:20
Member 16182599-Jan-05 15:20 
Hi! I downloaded the source code for the simple MP3 player from this site. I am trying to add volume buttons in MFC. I added the buttons and functions with the class wizard in Visual C++ 6.0, but my functions are not working. Here is my code:
void CAVIPlayerDlg::OnVolumeDown()
{
long vol;
vol = MCIWndGetVolume(m_Video);

vol-=250;
MCIWndSetVolume(m_Video,vol);

}

void CAVIPlayerDlg::OnVolumeUp()
{
long vol;
vol = MCIWndGetVolume(m_Video);

vol+=250;
MCIWndSetVolume(m_Video,vol);

}
It runs, but the call MCIWndGetVolume(m_Video) returns 0 each time, and the volume isn't affected. Any ideas?
GeneralRe: Need some help Pin
ytod9-Jan-05 15:54
ytod9-Jan-05 15:54 
GeneralPointer to an object in a std::list Pin
Jordan C. Atlas9-Jan-05 13:25
Jordan C. Atlas9-Jan-05 13:25 
GeneralRe: Pointer to an object in a std::list Pin
PJ Arends9-Jan-05 13:35
professionalPJ Arends9-Jan-05 13:35 
GeneralRe: Pointer to an object in a std::list Pin
Jordan C. Atlas9-Jan-05 17:26
Jordan C. Atlas9-Jan-05 17:26 
QuestionAdding unicode character to char string ? Pin
Samsung9-Jan-05 12:53
Samsung9-Jan-05 12:53 
AnswerRe: Adding unicode character to char string ? Pin
Christian Graus9-Jan-05 13:37
protectorChristian Graus9-Jan-05 13:37 
AnswerRe: Adding unicode character to char string ? Pin
ThatsAlok9-Jan-05 17:25
ThatsAlok9-Jan-05 17:25 
GeneralToolbar - tool tips Pin
Tony Teveris9-Jan-05 12:26
Tony Teveris9-Jan-05 12:26 
GeneralRe: Toolbar - tool tips Pin
Rahim Rattani9-Jan-05 17:03
Rahim Rattani9-Jan-05 17:03 
GeneralA simple client to server Pin
Luzo9-Jan-05 9:44
Luzo9-Jan-05 9:44 
GeneralRe: A simple client to server Pin
ytod9-Jan-05 16:09
ytod9-Jan-05 16:09 
QuestionIs VC++ 5.0 code compatable with WinXP? Pin
9-Jan-05 8:28
suss9-Jan-05 8:28 
AnswerRe: Is VC++ 5.0 code compatable with WinXP? Pin
Ryan Binns9-Jan-05 17:23
Ryan Binns9-Jan-05 17:23 
Generalchanging language in UI dynamically Pin
feroz209-Jan-05 6:41
feroz209-Jan-05 6:41 
GeneralRe: changing language in UI dynamically Pin
sps-itsec469-Jan-05 11:12
sps-itsec469-Jan-05 11:12 
GeneralRe: changing language in UI dynamically Pin
Maximilien9-Jan-05 14:19
Maximilien9-Jan-05 14:19 
GeneralRe: changing language in UI dynamically Pin
toxcct9-Jan-05 22:27
toxcct9-Jan-05 22:27 

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.