Home Gadgetman Forum Book Reviews Links Contact me X-UFO
Gadgets Processors Programming School Old news
If your program uses the Toolbar module, you are already doing it.

A practical example would be a program having a scrollbar or two, maybe the toolbar, and some custom graphical buttons...

If you had all this it would be a nightmare of programming to deduce by position coordinates what was tapped...
But if these elements all had their own window, you could find out just by examining the window info returned by GetEvent32

Windows comes in all shapes(rectangular), colors(2/4/16 shades of grey, and in the case of the S7 and netBook, up to 256 colours, too) and sizes(they can be bigger than the actual screen :-)

You can also decide on border size and a nice shadow...

Here's a couple of pitfalls that you really should know about:

<< >>
<< >>