CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Eri523

Search: Search took 0.10 seconds.

  1. Re: Single instance app works - still feels a bit like a hack though...

    I cheered too quickly again: Fake Hotkey was another one that may or may not work. :sick: However, I found out a bit more what "may or may not" means in concrete: It works when BringUpTest is started...
  2. Re: Single instance app works - still feels a bit like a hack though...

    [... A LOT of time passes - again... :rolleyes:]

    A thread I read along in the VC++ section the other day made me click around a bit on MSDN, like so many times, but this time I came across...
  3. Re: Single instance app works - still feels a bit like a hack though...

    Oops! :o There has been a serious bug in the demo project attached to the last post: Due to failure to properly adjust a copy-pasted piece of code, the program effectively used a WM_NULL for the...
  4. Re: Single instance app works - still feels a bit like a hack though...

    I just revisited this topic because I had a new idea how to implement it: There definitely seems to be no way for an app to activate itself. Perhaps the Windows developers considered the possibility...
  5. Re: Single instance app works - still feels a bit like a hack though...

    Late update...

    I just happened to notice that flashing the task bar button respectively window caption actually is the intended and documented behavior of Form::Activate() in case the calling...
  6. Re: Single instance app works - still feels a bit like a hack though...

    Really, really weird... I already suspected the issue on my pesonal side because I got my copy of VC++ from Warehouse 13, but now that you can reproduce the problem, even on Win 7, my abberation...
  7. Re: Single instance app works - still feels a bit like a hack though...

    Well, I didn't really get ahead with this since the last post. :o I'd really love if someone could test that for me on another Windows XP. To simplify testing I have attached a new version of the...
  8. Re: Single instance app works - still feels a bit like a hack though...

    Yes I did. That's where this remnant function in WndMessageHolder is left over from:



    // Taken strictly, the following doesn't really belong here...
    // Actually, it isn't even used as of...
  9. Re: Single instance app works - still feels a bit like a hack though...

    Ok, looks like this one could become tricky... To simplify testing for those who want to assist I have set up a test project and attached it to this post. It includes the original WndMessageHolder...
  10. Re: Single instance app works - still feels a bit like a hack though...

    Yes, of course what you suggest is the natural variant and I was perfectly sure I had already tested that and it did not work. But maybe I've missed something, so I tried to revert my code to (an...
  11. Re: Single instance app works - still feels a bit like a hack though...

    Thanks for the link. :)

    I haven't yet read the article really thoroughly but the code in there basically appears to use something I used sucessfully all the way while implementing the single...
  12. [RESOLVED] Single instance app works - still feels a bit like a hack though...

    Adapting code and information from two CodeGuru posts and two off-site articles linked to by the second one of the CG posts (http://www.codeguru.com/forum/showthread.php?p=1472688,...
Results 1 to 12 of 12





Click Here to Expand Forum to Full Width

Featured