CMessageFrame: A POL extension class
I've just posted a small, standalone class called CMessageFrame that works with POL 3. This class shows how to popup a small message window while you're doing some processing. The constructor actually performs the poup, with the destructor removing the window and restoring the contents of the screen below it. There is a "yOffset" parameter to the constructor that lets you affect how its centered in the vertical on the screen, something that's useful if you have a program that's vertically arranged, and you want to center it within a specific area.
Download it here. Let me know if you have any comments. I'm sorry that it is not commented very well, but the class is short enough to easily understand, IMO.

Send feedback to combee@techwood.org
Copyright © 2004 Benjamin L. Combee
Palm OS is a registered trademark of PalmSource, Inc.
Metrowerks and CodeWarrior are registered trademarks of Metrowerks Inc.
The views expressed on this website/weblog are those of mine alone and do not necessarily reflect the views of PalmSource or Metrowerks.

qwertYAK / frobnovich
|