Click here to Skip to main content
15,905,144 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Activating Single instance Pin
shiraztk10-Sep-05 0:03
shiraztk10-Sep-05 0:03 
GeneralRe: Activating Single instance Pin
laiju10-Sep-05 0:19
laiju10-Sep-05 0:19 
AnswerRe: Activating Single instance Pin
Bob Stanneveld10-Sep-05 2:02
Bob Stanneveld10-Sep-05 2:02 
GeneralRe: Activating Single instance Pin
laiju10-Sep-05 2:27
laiju10-Sep-05 2:27 
GeneralRe: Activating Single instance Pin
Bob Stanneveld10-Sep-05 6:11
Bob Stanneveld10-Sep-05 6:11 
AnswerRe: Activating Single instance Pin
Ted Ferenc10-Sep-05 2:08
Ted Ferenc10-Sep-05 2:08 
GeneralRe: Activating Single instance Pin
PJ Arends10-Sep-05 8:51
professionalPJ Arends10-Sep-05 8:51 
AnswerRe: Activating Single instance Pin
PJ Arends10-Sep-05 8:48
professionalPJ Arends10-Sep-05 8:48 
http://www.codeproject.com/cpp/avoidmultinstance.asp[^]


laiju wrote:
Whenever there is an attempt to run multiple instance the current running instance should be restored to full view.

I used the technique described in Dr Newcomer's article to do just that in two of my articles, for an MFC example see here[^] and for a Win32 API example see here[^].



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!
GeneralRe: Activating Single instance Pin
Jörgen Sigvardsson10-Sep-05 9:33
Jörgen Sigvardsson10-Sep-05 9:33 
AnswerRe: Activating Single instance Pin
David Crow10-Sep-05 17:14
David Crow10-Sep-05 17:14 
AnswerRe: Activating Single instance Pin
PraxUnited9-Oct-09 2:26
PraxUnited9-Oct-09 2:26 
Questionjpeglib.h Pin
aasstt9-Sep-05 21:31
aasstt9-Sep-05 21:31 
AnswerRe: jpeglib.h Pin
Indivara10-Sep-05 3:55
professionalIndivara10-Sep-05 3:55 
QuestionSerial port and USB Pin
shiraztk9-Sep-05 20:52
shiraztk9-Sep-05 20:52 
AnswerRe: Serial port and USB Pin
Tim Orr9-Sep-05 21:34
Tim Orr9-Sep-05 21:34 
GeneralRe: Serial port and USB Pin
Bob Stanneveld10-Sep-05 2:07
Bob Stanneveld10-Sep-05 2:07 
QuestionPrint in PrintPreview problem Pin
mikobi9-Sep-05 20:26
mikobi9-Sep-05 20:26 
AnswerRe: Print in PrintPreview problem Pin
David Crow10-Sep-05 17:15
David Crow10-Sep-05 17:15 
GeneralRe: Print in PrintPreview problem Pin
mikobi11-Sep-05 19:21
mikobi11-Sep-05 19:21 
GeneralRe: Print in PrintPreview problem Pin
David Crow12-Sep-05 2:38
David Crow12-Sep-05 2:38 
QuestionCListCtrl: Change position first/last item position in Icon mode Pin
phieu9-Sep-05 18:03
phieu9-Sep-05 18:03 
AnswerRe: CListCtrl: Change position first/last item position in Icon mode Pin
Anonymous9-Sep-05 23:31
Anonymous9-Sep-05 23:31 
QuestionDeclaring Vectors Pin
Anonymous9-Sep-05 15:20
Anonymous9-Sep-05 15:20 
AnswerRe: Declaring Vectors Pin
Chris Losinger9-Sep-05 16:35
professionalChris Losinger9-Sep-05 16:35 
Answer[Message Deleted] Pin
SummoningDan9-Sep-05 16:45
SummoningDan9-Sep-05 16:45 

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.