Click here to Skip to main content
16,004,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mail from an NT Service Pin
Nick Blumhardt20-Aug-01 17:38
Nick Blumhardt20-Aug-01 17:38 
GeneralRe: Mail from an NT Service Pin
Giles21-Aug-01 8:53
Giles21-Aug-01 8:53 
GeneralRe: Mail from an NT Service Pin
Nick Blumhardt21-Aug-01 12:41
Nick Blumhardt21-Aug-01 12:41 
Generalpropertysheet: how do I add one to a formview Pin
ssiegel19-Aug-01 18:33
ssiegel19-Aug-01 18:33 
Generalproblems with recreating fwatch Pin
Hong Wye Kean19-Aug-01 17:26
Hong Wye Kean19-Aug-01 17:26 
GeneralRe: problems with recreating fwatch Pin
Michael Dunn19-Aug-01 20:18
sitebuilderMichael Dunn19-Aug-01 20:18 
GeneralProblems with a Win98 Machine Pin
19-Aug-01 15:53
suss19-Aug-01 15:53 
GeneralTesting for Previous Application Instances Pin
19-Aug-01 15:32
suss19-Aug-01 15:32 
Could someone tell me, how do I easily test for previous instances within MFC (for example when I only want to run one instance of my application).
It appears that the CWinApp::m_hPrevInstance variable is always set to NULL so I cannot use that. The MSDN help suggests that I use CWnd::FindWindow() but I can't seem to get that working.

Kind Regards,
Peter Eisfelder


Peter Eisfelder
GeneralRe: Testing for Previous Application Instances Pin
Ravi Bhavnani19-Aug-01 15:46
professionalRavi Bhavnani19-Aug-01 15:46 
Generalcreating new process sanity check Pin
Amit Jain19-Aug-01 15:30
Amit Jain19-Aug-01 15:30 
GeneralCListCtrl - I just need alittle help Pin
DanYELL19-Aug-01 15:15
DanYELL19-Aug-01 15:15 
GeneralCTreeView / Drawing Question Pin
ArchV19-Aug-01 8:29
ArchV19-Aug-01 8:29 
GeneralRe: CTreeView / Drawing Question Pin
Igor Sukhov19-Aug-01 9:17
Igor Sukhov19-Aug-01 9:17 
GeneralRe: CTreeView / Drawing Question Pin
19-Aug-01 13:41
suss19-Aug-01 13:41 
GeneralRe: CTreeView / Drawing Question Pin
Paolo Messina20-Aug-01 11:57
professionalPaolo Messina20-Aug-01 11:57 
GeneralWord Add-In Pin
AJ12319-Aug-01 2:07
AJ12319-Aug-01 2:07 
GeneralRe: Word Add-In Pin
Michael P Butler19-Aug-01 4:33
Michael P Butler19-Aug-01 4:33 
GeneralWord Add-In Pin
AJ12319-Aug-01 2:06
AJ12319-Aug-01 2:06 
GeneralRe: Word Add-In Pin
Bret Faller20-Aug-01 8:39
Bret Faller20-Aug-01 8:39 
GeneralWeird thread parameter problem Pin
Christian Skovdal Andersen19-Aug-01 0:20
Christian Skovdal Andersen19-Aug-01 0:20 
GeneralRe: Weird thread parameter problem Pin
Focht19-Aug-01 10:58
Focht19-Aug-01 10:58 
GeneralRe: Weird thread parameter problem Pin
loket19-Aug-01 12:36
loket19-Aug-01 12:36 
GeneralRe: Weird thread parameter problem Pin
Christian Skovdal Andersen19-Aug-01 20:13
Christian Skovdal Andersen19-Aug-01 20:13 
GeneralRe: Weird thread parameter problem Pin
Patrick_Kutch19-Aug-01 15:40
Patrick_Kutch19-Aug-01 15:40 
GeneralADO simple Connection/Recordset Question II Pin
Christian Graus18-Aug-01 14:22
protectorChristian Graus18-Aug-01 14:22 

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.