Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Infantile question? Pin
CPallini4-Mar-09 10:04
mveCPallini4-Mar-09 10:04 
QuestionFinished 2 C++ books, starting third and questions remain Pin
EliottA4-Mar-09 7:02
EliottA4-Mar-09 7:02 
AnswerRe: Finished 2 C++ books, starting third and questions remain Pin
led mike4-Mar-09 7:08
led mike4-Mar-09 7:08 
AnswerRe: Finished 2 C++ books, starting third and questions remain Pin
Eytukan4-Mar-09 7:18
Eytukan4-Mar-09 7:18 
AnswerRe: Finished 2 C++ books, starting third and questions remain Pin
Ric Ashton4-Mar-09 8:12
Ric Ashton4-Mar-09 8:12 
AnswerRe: Finished 2 C++ books, starting third and questions remain Pin
David Crow4-Mar-09 9:35
David Crow4-Mar-09 9:35 
GeneralRe: Finished 2 C++ books, starting third and questions remain Pin
EliottA5-Mar-09 3:18
EliottA5-Mar-09 3:18 
Questionswitch to existing instance [modified] Pin
negativeG4-Mar-09 7:01
negativeG4-Mar-09 7:01 
My app allows users to start a 'helper' applet that runs independently. I am using a mutex to limit this applet to a single instance. I use the mutex both to prevent starting the second instance from my app (by CreateProcess or ShellExecute)AND to have any second instance started outside my (by clicking icons, etc) to self-terminate.

How can I have them switch to the current instance of the applet? That is, if they select to run the applet from my app I don't want to ignore it or display a message that an instance is running. I want to make that instance be get focus and be the top most application.

Thanks,
-G

modified on Wednesday, March 4, 2009 1:39 PM

QuestionRe: switch to existing instance Pin
led mike4-Mar-09 7:10
led mike4-Mar-09 7:10 
AnswerRe: switch to existing instance Pin
Eytukan4-Mar-09 7:21
Eytukan4-Mar-09 7:21 
AnswerRe: switch to existing instance Pin
negativeG4-Mar-09 7:45
negativeG4-Mar-09 7:45 
AnswerRe: switch to existing instance Pin
led mike4-Mar-09 8:36
led mike4-Mar-09 8:36 
GeneralRe: switch to existing instance Pin
negativeG4-Mar-09 8:51
negativeG4-Mar-09 8:51 
GeneralRe: switch to existing instance Pin
led mike4-Mar-09 9:04
led mike4-Mar-09 9:04 
AnswerRe: switch to existing instance Pin
David Crow4-Mar-09 9:38
David Crow4-Mar-09 9:38 
GeneralRe: switch to existing instance Pin
negativeG5-Mar-09 7:58
negativeG5-Mar-09 7:58 
QuestionClipboard to jpeg using jpeglib Pin
alexhalt4-Mar-09 5:39
alexhalt4-Mar-09 5:39 
AnswerRe: Clipboard to jpeg using jpeglib Pin
Stuart Dootson4-Mar-09 6:12
professionalStuart Dootson4-Mar-09 6:12 
GeneralRe: Clipboard to jpeg using jpeglib Pin
alexhalt10-Mar-09 1:45
alexhalt10-Mar-09 1:45 
GeneralRe: Clipboard to jpeg using jpeglib Pin
Stuart Dootson10-Mar-09 2:02
professionalStuart Dootson10-Mar-09 2:02 
QuestionPing Using UDP Pin
tiger08064-Mar-09 5:00
tiger08064-Mar-09 5:00 
AnswerRe: Ping Using UDP [modified] Pin
Stuart Dootson4-Mar-09 5:52
professionalStuart Dootson4-Mar-09 5:52 
Question[Message Deleted] Pin
FISH7864-Mar-09 4:38
FISH7864-Mar-09 4:38 
AnswerRe: Powerbuilder to visual c++. Pin
Stuart Dootson4-Mar-09 5:49
professionalStuart Dootson4-Mar-09 5:49 
GeneralRe: Powerbuilder to visual c++. Pin
FISH7864-Mar-09 7:00
FISH7864-Mar-09 7:00 

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.