Click here to Skip to main content
15,881,172 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can use it in List Ctrl? Pin
Le@rner15-Nov-10 21:38
Le@rner15-Nov-10 21:38 
GeneralRe: How can use it in List Ctrl? Pin
Cool_Dev15-Nov-10 22:23
Cool_Dev15-Nov-10 22:23 
AnswerRe: How can use it in List Ctrl? Pin
Code-o-mat15-Nov-10 21:38
Code-o-mat15-Nov-10 21:38 
GeneralRe: How can use it in List Ctrl? Pin
Le@rner15-Nov-10 21:40
Le@rner15-Nov-10 21:40 
QuestionHow to tell when a view loses focus when the user has the right mouse button down and moves out of the view? Pin
Paul Belikian15-Nov-10 9:28
Paul Belikian15-Nov-10 9:28 
AnswerRe: How to tell when a view loses focus when the user has the right mouse button down and moves out of the view? Pin
Code-o-mat15-Nov-10 10:05
Code-o-mat15-Nov-10 10:05 
GeneralRe: How to tell when a view loses focus when the user has the right mouse button down and moves out of the view? Pin
Paul Belikian15-Nov-10 11:14
Paul Belikian15-Nov-10 11:14 
GeneralRe: How to tell when a view loses focus when the user has the right mouse button down and moves out of the view? Pin
Code-o-mat15-Nov-10 11:40
Code-o-mat15-Nov-10 11:40 
Yourwelcome. Just be careful, as i said, you might lose the mouse capture because of some "external" event, like a dialog box popping up from another application, and if you don't handle this correctly the user might need to click the correct spot in your application to trigger a button-up. I suggest, in OnLButtonDown, use SetCapture to grab the mouse input and start your midi play, in OnLButtonUp, use ReleaseCapture and in OnCaptureChanged, if you are loosing the capture, stop the sound. This way, both if the user releases the key or some other event triggers the capture-change, you won't end up with your program playing the sound endlessly.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Leela: Fry, you're wasting your life sitting in front of that TV. You need to get out and see the real world.
Fry: But this is HDTV. It's got better resolution than the real world <

GeneralRe: How to tell when a view loses focus when the user has the right mouse button down and moves out of the view? Pin
Paul Belikian15-Nov-10 13:04
Paul Belikian15-Nov-10 13:04 
GeneralRe: How to tell when a view loses focus when the user has the right mouse button down and moves out of the view? Pin
Code-o-mat15-Nov-10 21:33
Code-o-mat15-Nov-10 21:33 
Question_unresolved external symbol error?? Pin
AmbiguousName15-Nov-10 9:20
AmbiguousName15-Nov-10 9:20 
AnswerRe: _unresolved external symbol error?? Pin
«_Superman_»15-Nov-10 9:26
professional«_Superman_»15-Nov-10 9:26 
AnswerRe: _unresolved external symbol error?? Pin
Stephen Hewitt15-Nov-10 18:34
Stephen Hewitt15-Nov-10 18:34 
GeneralRe: _unresolved external symbol error?? Pin
AmbiguousName16-Nov-10 2:12
AmbiguousName16-Nov-10 2:12 
QuestionFloat value Pin
john563215-Nov-10 4:44
john563215-Nov-10 4:44 
AnswerRe: Float value Pin
Cedric Moonen15-Nov-10 4:57
Cedric Moonen15-Nov-10 4:57 
AnswerRe: Float value Pin
Dr.Walt Fair, PE15-Nov-10 5:14
professionalDr.Walt Fair, PE15-Nov-10 5:14 
AnswerRe: Float value Pin
David Crow15-Nov-10 5:41
David Crow15-Nov-10 5:41 
GeneralRe: Float value Pin
Sauro Viti15-Nov-10 9:12
professionalSauro Viti15-Nov-10 9:12 
AnswerRe: Float value Pin
Rick York17-Nov-10 7:36
mveRick York17-Nov-10 7:36 
QuestionProblem with HtmlHelp API Pin
msr_codeproject15-Nov-10 0:03
msr_codeproject15-Nov-10 0:03 
AnswerRe: Problem with HtmlHelp API Pin
Randor 15-Nov-10 2:28
professional Randor 15-Nov-10 2:28 
QuestionCompilation Error Pin
john563214-Nov-10 20:24
john563214-Nov-10 20:24 
AnswerRe: Compilation Error Pin
Cedric Moonen14-Nov-10 20:45
Cedric Moonen14-Nov-10 20:45 
GeneralRe: Compilation Error Pin
CPallini14-Nov-10 21:17
mveCPallini14-Nov-10 21:17 

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.