Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ominous message Pin
Anna-Jayne Metcalfe1-Apr-01 9:54
Anna-Jayne Metcalfe1-Apr-01 9:54 
GeneralQuestion about IPicture Pin
Ahmad31-Mar-01 22:15
Ahmad31-Mar-01 22:15 
GeneralEditBox Pin
Derick Cyril Thomas31-Mar-01 17:40
Derick Cyril Thomas31-Mar-01 17:40 
GeneralRe: EditBox Pin
Michael Dunn31-Mar-01 18:26
sitebuilderMichael Dunn31-Mar-01 18:26 
GeneralRe: EditBox Pin
l a u r e n31-Mar-01 23:00
l a u r e n31-Mar-01 23:00 
GeneralRe: EditBox Pin
4-Apr-01 11:01
suss4-Apr-01 11:01 
QuestionWhich box did the command come from? Pin
31-Mar-01 14:24
suss31-Mar-01 14:24 
AnswerRe: Which box did the command come from? Pin
Tim Deveaux1-Apr-01 5:18
Tim Deveaux1-Apr-01 5:18 
Sounds like each dialog is built from the same template, so their control IDs are all the same. Hmmm...

Well, if the dialog with the play button knows what movie to play (or has some distinguishing data) you could set up a custom windows message that would be posted when the play button is hit. Create a handler in the main wind (perhaps using ON_MESSAGE macro, if MFC) to get all these notifications. When you post the message inside OnPlay, the wparam or lparam can be set with some indication of who posted the message, and your main handler can switch on that.

I know this is a little short on detail, but I think if you search this forum for ON_MESSAGE you'll get some tips.
GeneralAppending a file - argh !!!! Pin
Christian Graus31-Mar-01 13:05
protectorChristian Graus31-Mar-01 13:05 
GeneralRe: Appending a file - argh !!!! Pin
Michael Dunn31-Mar-01 14:30
sitebuilderMichael Dunn31-Mar-01 14:30 
GeneralRe: Appending a file - argh !!!! Pin
Christian Graus31-Mar-01 22:35
protectorChristian Graus31-Mar-01 22:35 
GeneralRe: Appending a file - argh !!!! Pin
31-Mar-01 22:55
suss31-Mar-01 22:55 
GeneralRe: Appending a file - argh !!!! Pin
l a u r e n31-Mar-01 23:06
l a u r e n31-Mar-01 23:06 
GeneralRe: Appending a file - argh !!!! Pin
Christian Graus1-Apr-01 12:56
protectorChristian Graus1-Apr-01 12:56 
GeneralRe: Appending a file - argh !!!! Pin
Tim Deveaux1-Apr-01 5:24
Tim Deveaux1-Apr-01 5:24 
GeneralWH_SHELL Hook Pin
Mustafa Demirhan31-Mar-01 7:48
Mustafa Demirhan31-Mar-01 7:48 
GeneralActiveX Controls and Downloading Pin
31-Mar-01 5:07
suss31-Mar-01 5:07 
GeneralRe: ActiveX Controls and Downloading Pin
l a u r e n31-Mar-01 23:10
l a u r e n31-Mar-01 23:10 
GeneralTrouble with running dos programs from VC++ Pin
James Bird31-Mar-01 3:52
James Bird31-Mar-01 3:52 
GeneralRe: Trouble with running dos programs from VC++ Pin
Anders Molin31-Mar-01 6:38
professionalAnders Molin31-Mar-01 6:38 
GeneralRe: Trouble with running dos programs from VC++ Pin
Michael Dunn31-Mar-01 7:53
sitebuilderMichael Dunn31-Mar-01 7:53 
GeneralSieve of Eratosthenes -- Please Urgent Pin
30-Mar-01 18:14
suss30-Mar-01 18:14 
GeneralRe: Sieve of Eratosthenes -- Please Urgent Pin
Christian Graus31-Mar-01 1:56
protectorChristian Graus31-Mar-01 1:56 
GeneralWTL CString disaster !!! Pin
Christian Graus30-Mar-01 17:29
protectorChristian Graus30-Mar-01 17:29 
GeneralRe: WTL CString disaster !!! Pin
Michael Dunn30-Mar-01 18:19
sitebuilderMichael Dunn30-Mar-01 18:19 

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.