Click here to Skip to main content
16,019,018 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I capture frames with directshow ? Pin
Justin Tay23-Aug-06 4:35
Justin Tay23-Aug-06 4:35 
QuestionProblem on changing Views Pin
kiranin22-Aug-06 23:02
kiranin22-Aug-06 23:02 
QuestionRe: Problem on changing Views Pin
prasad_som22-Aug-06 23:09
prasad_som22-Aug-06 23:09 
QuestionStrange behaviour in ShellExecute with MS Office Pin
e-DJ22-Aug-06 23:01
e-DJ22-Aug-06 23:01 
AnswerRe: Strange behaviour in ShellExecute with MS Office Pin
Rage23-Aug-06 1:39
professionalRage23-Aug-06 1:39 
GeneralRe: Strange behaviour in ShellExecute with MS Office Pin
e-DJ23-Aug-06 1:50
e-DJ23-Aug-06 1:50 
GeneralRe: Strange behaviour in ShellExecute with MS Office Pin
Rage23-Aug-06 5:03
professionalRage23-Aug-06 5:03 
GeneralRe: Strange behaviour in ShellExecute with MS Office Pin
e-DJ24-Aug-06 0:56
e-DJ24-Aug-06 0:56 
I managed to display my dialog as modeless. But How can I wat in my Application for a posted message?

Background:

I have a listctrl. This list displays a lot of filenames. The user makes a dblclick and the file is opened. I then add an entry in my database, that the user has started this file and ask, if it was useful for him. Then I add another entry in my database.
Right now, my algorithm looks like this:

OnDblClick:
Get klicked filename
ShellExecute
Display MessageBox
When it was of use, add entry in database
increment hitcounter in database

It is my own ListCtrl derived from CListCtrl. I was not able to call a dialogbox of my application from inside my ListCtrl (which makes sense, because my ListCtrl does not know about my application). So I initialised my modeless dialog in my application and pass a pointer to this dialog to my ListCtrl. However, my ListCtrl only accepts CDialog as pointer, therefore I can not access members of my modeless dialog.

So after doing a ShellExecute, I just show my previously created modeless dialog and have to wait in my DblClick-handler for the end of my modeless dialog. Sound difficult. Otherwise I have to completely reconstruct my ListCtrl.

Juergen

PS. Ich bin nicht aus Amerika, sondern lebe in Deutschland. Wie kommst Du darauf, ich wär Ami?
AnswerRe: Strange behaviour in ShellExecute with MS Office Pin
David Crow23-Aug-06 3:12
David Crow23-Aug-06 3:12 
Questionethernet programming Pin
Muhammad Azeem Azam22-Aug-06 22:46
Muhammad Azeem Azam22-Aug-06 22:46 
AnswerRe: ethernet programming Pin
markkuk22-Aug-06 23:09
markkuk22-Aug-06 23:09 
AnswerRe: ethernet programming Pin
Steve S22-Aug-06 23:09
Steve S22-Aug-06 23:09 
QuestionMemory error. Pin
stevelam22-Aug-06 22:23
stevelam22-Aug-06 22:23 
AnswerRe: Memory error. Pin
Rage22-Aug-06 22:30
professionalRage22-Aug-06 22:30 
AnswerRe: Memory error. Pin
prasad_som22-Aug-06 22:46
prasad_som22-Aug-06 22:46 
GeneralRe: Memory error. Pin
stevelam23-Aug-06 2:12
stevelam23-Aug-06 2:12 
AnswerRe: Memory error. Pin
Cedric Moonen22-Aug-06 22:46
Cedric Moonen22-Aug-06 22:46 
QuestionHow to skip the device driver? Pin
romasan22-Aug-06 21:44
romasan22-Aug-06 21:44 
AnswerRe: How to skip the device driver? Pin
Mike Dimmick23-Aug-06 1:07
Mike Dimmick23-Aug-06 1:07 
GeneralRe: How to skip the device driver? Pin
romasan23-Aug-06 16:49
romasan23-Aug-06 16:49 
QuestionResolving IP Address Pin
Programm3r22-Aug-06 21:27
Programm3r22-Aug-06 21:27 
AnswerRe: Resolving IP Address Pin
_AnsHUMAN_ 22-Aug-06 22:00
_AnsHUMAN_ 22-Aug-06 22:00 
GeneralRe: Resolving IP Address Pin
Programm3r22-Aug-06 22:05
Programm3r22-Aug-06 22:05 
Questionhow to get codes of content-based audio retrieval Pin
chen100022-Aug-06 21:25
chen100022-Aug-06 21:25 
AnswerRe: how to get codes of content-based audio retrieval Pin
Christian Graus22-Aug-06 21:39
protectorChristian Graus22-Aug-06 21:39 

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.