Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

WDialog:Paint() Method
Draw/re-draw a dialog
------------------------------------------------------------------------------

Syntax
<oWnd>:Paint()   -->   0

Arguments
None.  However, the protected property self:hDC is a valid
device context.

You can access the paint structure through self:aPaint, if you
need it.

Returns
Zero (0).

Description
This method should fill the dialog's client area with whatever
text, graphics, etc. you want the user to see.  It will be
called any time the screen needs updating, such as when the
user uncovers part or all of a dialog.  It may be called as a
result of several different messages, e.g. WM_DRAWITEM and
WM_PAINT.

You rarely use this in a dialog, as dialogs normally re-draw
themselves fully.

Example


See Also: WDialog:OnPaint()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson