Thread: Custom Window Shapes

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    265

    Custom Window Shapes

    I know this has probablly been asked before but i searched around and didnt see it (probablly because i didnt know the right terms to search for) but im sure everybody knows what im talking about. How do you go about drawing a window the shape of a car or something. Anybody got a tutorial? Thx.

  2. #2
    The attached tutorial is from PlanetCpp.com it uses a bitmap and draws them with transparencies to create a custom window shape.

  3. #3
    Registered User
    Join Date
    Feb 2003
    Posts
    265
    Thanks alot, that is exactly what i was looking for. On a side note, do you know if anybody has ever animated transparent windows like this one? Thats the target for the end result. That image for example, with a few minutes in paint shop could have other frames and possibly make the wings move or eyes blink.

  4. #4
    Registered User
    Join Date
    Jan 2003
    Posts
    14
    Yeah, they have, and boy was it ever annoying I cannot imagine a more annoying and hostile user interface than a smiley face window with shifty eyes that follow the cursor.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 08:23 AM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  3. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  4. Pong is completed!!!
    By Shamino in forum Game Programming
    Replies: 11
    Last Post: 05-26-2005, 10:50 AM
  5. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM