Discuss PocketC for CE (including Desktop Edition)

Postby lbartik on Sat Jun 09, 2001 2:53 am

Everyone should know that PM_PAINT is negligibly described in all PocketC documentation, including the far reaches of the www. I confirmed its usage indirectly in these forums while searching. In every occurance of PM_PAINT in documentation its description is simply "paint message" real helpful huh? By deduction I reasoned, at last and after many other failed hypothesisesisis that PMPaint could only mean that the system was busy painting something. For anybody that has'nt gotten it yet: A PM_PAINT event occurs when the system is painting the screen, appearantly. Perhaps some of the events could be described in the function documentation or "paint message" could be replaced with "system busy painting screen" or something along those lines but shorter and thus infinitely more beffudling. Oh, caught myself ranting again... better drop it... bye...
Posts: 4
Joined: Fri Feb 16, 2001 5:20 am
Location: USA

Postby Justinespinosa on Sat Jun 09, 2001 1:03 pm

I think "paint message" is a good description. it's received by the main window each time it needs to be repainted by the system so it is when a system control that was hiding a part of the main window has been moved or deleted so this part is first left white by the system. then it calls the paint procedure of this window (made by kevin in the code of pcshell) and here it gets the instructions for what to paint in this window.
It's like this in every event based Gaphical Interface Operating System like windows CE. But you don't need to manage that in PocketC because it's done by the Shell.


OUTS Softwares

OUTS Softwares
Posts: 156
Joined: Wed Dec 06, 2000 2:30 pm
Location: Switzerland

Return to PocketC for CE

Who is online

Users browsing this forum: No registered users and 2 guests