Click here to Skip to main content
16,007,472 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: call strcpy??????????? Pin
14-May-01 15:42
suss14-May-01 15:42 
GeneralRe: call strcpy??????????? Pin
15-May-01 3:56
suss15-May-01 3:56 
AnswerRe: call strcpy??????????? Pin
15-May-01 4:18
suss15-May-01 4:18 
AnswerRe: call strcpy??????????? Pin
#realJSOP16-May-01 0:56
professional#realJSOP16-May-01 0:56 
GeneralStopping an application... Pin
Roger14-May-01 2:34
Roger14-May-01 2:34 
GeneralRe: Stopping an application... Pin
Tomasz Sowinski14-May-01 2:42
Tomasz Sowinski14-May-01 2:42 
GeneralRe: Stopping an application... Pin
Roger14-May-01 2:53
Roger14-May-01 2:53 
GeneralRe: Stopping an application... Pin
Tomasz Sowinski14-May-01 3:03
Tomasz Sowinski14-May-01 3:03 
The following article by PJ Naughter deals with "single-instancing":

http://www.codeproject.com/cpp/csingleinst.asp

However, the code you'll find there closes the second instance (not the original one). To close the original instance, you can send a message to its main window. WM_CLOSE could work here, depending on the actions your program performs on closing. If any msgboxes are displayed (prompt for save, etc.), you can choose to use some private application message.

Tomasz Sowinski -- http://www.shooltz.com.pl
GeneralRe: Stopping an application... Pin
Roger14-May-01 6:45
Roger14-May-01 6:45 
QuestionCFileDialog converting??? Pin
14-May-01 0:22
suss14-May-01 0:22 
AnswerRe: CFileDialog converting??? Pin
Tomasz Sowinski14-May-01 0:34
Tomasz Sowinski14-May-01 0:34 
GeneralRe: CFileDialog converting??? Pin
14-May-01 0:39
suss14-May-01 0:39 
GeneralRe: CFileDialog converting??? Pin
Tomasz Sowinski14-May-01 1:21
Tomasz Sowinski14-May-01 1:21 
GeneralRe: CFileDialog converting??? Pin
14-May-01 2:40
suss14-May-01 2:40 
GeneralPeculiar compiling differences. Pin
David Fleming13-May-01 14:57
David Fleming13-May-01 14:57 
GeneralRe: Peculiar compiling differences. Pin
Michael Dunn13-May-01 16:40
sitebuilderMichael Dunn13-May-01 16:40 
GeneralRe: Peculiar compiling differences. Pin
David Fleming14-May-01 11:50
David Fleming14-May-01 11:50 
GeneralRe: Peculiar compiling differences. Pin
Michael Dunn14-May-01 16:01
sitebuilderMichael Dunn14-May-01 16:01 
GeneralRe: Peculiar compiling differences. Pin
David Fleming17-May-01 18:46
David Fleming17-May-01 18:46 
GeneralRe: Peculiar compiling differences. Pin
Michael Dunn17-May-01 18:59
sitebuilderMichael Dunn17-May-01 18:59 
GeneralRe: Peculiar compiling differences. Pin
David Fleming17-May-01 19:58
David Fleming17-May-01 19:58 
GeneralRe: Peculiar compiling differences. Pin
13-May-01 22:13
suss13-May-01 22:13 
QuestionCLongBinary --> CBitmap? Pin
13-May-01 4:44
suss13-May-01 4:44 
GeneralIn ActiveX Component MS Winsock Ver 6I can't senddata from server to client by client use getdata function but it can't receive data. Pin
12-May-01 19:09
suss12-May-01 19:09 
GeneralNeed code for Address Book... Pin
Ting12-May-01 12:08
Ting12-May-01 12:08 

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.