I've seen this a few times, and actually think it would be cool for one of my current projects. I want to display a non-rectangular device on the screen, so the bitmap of the device is the only visible part of the app. No title bar, no menus, no border.
How is this done? Are they using a rectangular window and just blitting the stuff behind it to the window background, or is there a way to mask the window so that it doesn't paint anything but the bitmap?
I have a routine for drawing transparent bitmaps to windows, but I guess the problem I'm having is not drawing any window at all. Obviously, I would want mouse clicks to register inside the window, but change focus if clicked off the bitmap. Any ideas?
How is this done? Are they using a rectangular window and just blitting the stuff behind it to the window background, or is there a way to mask the window so that it doesn't paint anything but the bitmap?
I have a routine for drawing transparent bitmaps to windows, but I guess the problem I'm having is not drawing any window at all. Obviously, I would want mouse clicks to register inside the window, but change focus if clicked off the bitmap. Any ideas?