Partilhar via


Two more C# apps added: RightSideUp and Space Invaders

I've moved over a couple more of the apps from my old site that I've hacked up over time.  RightSideUp is an app that automatically rotates images based on the orientation in their EXIF data.  Space Invaders is another clone of the classic game.  Source and binaries available for both.

Comments

  • Anonymous
    March 17, 2004
    Hey, think you could have the uptime(2000) source available or perhaps show how to achieve same functionality in C# / .net? I liked the ability to put it on top and have the mouse clicks just go through it (even the text) as if it weren't there. Unfortunately i'm in the impression this needs some interop..

    I can get similar thing with transparency key thing, but it will only work for the background, not the text in the form.
  • Anonymous
    March 17, 2004
    Actually i think i got the idea what to try. I looked up what stuff your uptime2000 was importing and with a bit of reading up found WS_EX_TRANSPARENT, if i get the hwnd of the winform in C# it is probably possible to use this with layered window stuff to achieve the effect, but apparently needs this small bit of interop.. ?
  • Anonymous
    March 17, 2004
    I'll try to dig up the source for Uptime soon and post it. I honestly don't remember what flags I had to use as it's been ages since I worked on that app. I do remember trying to do the same thing with C# in the 7.0 timeframe and also coming to the conclusion that there was going to be some pinvoking involved. Though I don't know if I ever went forward on it.

    Anyway, I'll post the code soon. Thanks!
  • Anonymous
    March 17, 2004
    Joku, I just posted the Uptime 2000 source. You can find it here: http://blogs.msdn.com/gusperez/archive/2004/03/17/91738.aspx.

  • Anonymous
    April 10, 2004
    LSN WebLog » Uptime 2000 - Tool to display your system uptime transparently on your desktop