Click here to Skip to main content
15,908,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Unable to control mouse events Pin
Akt_4_U5-Mar-09 0:47
Akt_4_U5-Mar-09 0:47 
QuestionAssertion in atlsimpstr Pin
Davitor4-Mar-09 23:47
Davitor4-Mar-09 23:47 
AnswerRe: Assertion in atlsimpstr Pin
Hamid_RT4-Mar-09 23:59
Hamid_RT4-Mar-09 23:59 
AnswerRe: Assertion in atlsimpstr Pin
Cedric Moonen5-Mar-09 0:06
Cedric Moonen5-Mar-09 0:06 
QuestionProblem in Mutex with System Tray Icon. Pin
Le@rner4-Mar-09 23:25
Le@rner4-Mar-09 23:25 
AnswerRe: Problem in Mutex with System Tray Icon. Pin
Code-o-mat4-Mar-09 23:59
Code-o-mat4-Mar-09 23:59 
GeneralRe: Problem in Mutex with System Tray Icon. Pin
Le@rner5-Mar-09 0:14
Le@rner5-Mar-09 0:14 
GeneralRe: Problem in Mutex with System Tray Icon. Pin
Code-o-mat5-Mar-09 0:34
Code-o-mat5-Mar-09 0:34 
Well, i currently have no time to write you a complete example proggie but i can try to give you a "skeleton", i hope it will help you somewhat
UINT WM_ACTIVATE_MY_APPLICATION = RegisterWindowMessage("WM_ACTIVATE_MY_APPLICATION_315FrYu76A");
...
if (there_is_another_instrance_running)
{
  BroadcastSystemMessage(BSF_POSTMESSAGE, BSM_APPLICATIONS, WM_ACTIVATE_MY_APPLICATION, 0, 0);
  exit(0);
}
...
BEGIN_MESSAGE_MAP(CMyVeryOwnApp, CWinApp)
  ...
  ON_THREAD_MESSAGE(WM_ACTIVATE_MY_APPLICATION, OnActivateMyVeryOwnApp)
  ...
END_MESSAGE_MAP()
...
LRESULT CMyVeryOwnApp::OnActivateMyVeryOwnApp(WPARAM wParam, LPARAM lParam)
{
  ...
  ShowMyVeryOwnMainWindowAndBringToFront();
  ...
}
I hope this helps somewhat...

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

GeneralRe: Problem in Mutex with System Tray Icon. Pin
Le@rner5-Mar-09 1:13
Le@rner5-Mar-09 1:13 
GeneralRe: Problem in Mutex with System Tray Icon. Pin
Code-o-mat5-Mar-09 1:22
Code-o-mat5-Mar-09 1:22 
GeneralRe: Problem in Mutex with System Tray Icon. Pin
Le@rner7-Aug-09 18:17
Le@rner7-Aug-09 18:17 
GeneralRe: Problem in Mutex with System Tray Icon. Pin
Code-o-mat7-Aug-09 21:29
Code-o-mat7-Aug-09 21:29 
GeneralRe: Problem in Mutex with System Tray Icon. Pin
Le@rner7-Aug-09 21:49
Le@rner7-Aug-09 21:49 
GeneralRe: Problem in Mutex with System Tray Icon. Pin
Code-o-mat7-Aug-09 21:59
Code-o-mat7-Aug-09 21:59 
GeneralRe: Problem in Mutex with System Tray Icon. Pin
Le@rner7-Aug-09 23:04
Le@rner7-Aug-09 23:04 
QuestionProblem sending SMS using EDGE modem Pin
efarook4-Mar-09 22:59
efarook4-Mar-09 22:59 
QuestionHow to override OnOK() and OnESC() in an instance of CDialog? Pin
B_U_A4-Mar-09 22:43
B_U_A4-Mar-09 22:43 
AnswerRe: How to override OnOK() and OnESC() in an instance of CDialog? Pin
Cedric Moonen4-Mar-09 22:47
Cedric Moonen4-Mar-09 22:47 
GeneralRe: How to override OnOK() and OnESC() in an instance of CDialog? Pin
B_U_A4-Mar-09 23:24
B_U_A4-Mar-09 23:24 
GeneralRe: How to override OnOK() and OnESC() in an instance of CDialog? Pin
Hamid_RT4-Mar-09 23:55
Hamid_RT4-Mar-09 23:55 
QuestionHow to receive buffer from a directx based game Pin
kallol kumar4-Mar-09 20:56
kallol kumar4-Mar-09 20:56 
AnswerRe: How to receive buffer from a directx based game [modified] Pin
Code-o-mat4-Mar-09 21:59
Code-o-mat4-Mar-09 21:59 
GeneralRe: How to receive buffer from a directx based game Pin
kallol kumar5-Mar-09 1:15
kallol kumar5-Mar-09 1:15 
GeneralRe: How to receive buffer from a directx based game Pin
Code-o-mat5-Mar-09 1:36
Code-o-mat5-Mar-09 1:36 
QuestionContext Help in dialog Pin
Anu_Bala4-Mar-09 20:14
Anu_Bala4-Mar-09 20:14 

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.