INDEX | CLUSTER | FEATURES | SHORT | FRAMES | NO FRAMES |
-- The 'BeginPaint' function prepares the specified window for painting
-- and fills a WAPI_PAINTSTRUCT structure with information about the painting.
-- The `DrawEdge' function draws one or more edges of rectangle.
-- The `DrawFocusRect' function draws a rectangle in the style used
-- to indicate that the rectangle has the focus.
-- The 'DrawText' function draws formatted text in the specified rectangle.
-- It formats the text according to the specified method (expanding tabs,
-- justifying characters, breaking lines, and so forth).
-- The 'EndPaint' procedure marks the end of painting in the given window.
-- This procedure is required for each call to the 'BeginPaint' function,
-- but only after painting is complete.
-- Flushes the calling thread's current batch. If all functions in the
-- current batch succeed, the return value is nonzero. If not all functions in the
-- current batch succeed, the return value is zero, indicating that at least one
-- function returned an error
-- The `GetUpdateRect' function retrieves the coordinates of the
-- smallest rectangle that completely encloses the update region
-- of the specified window. If the window was created with the
-- CS_OWNDC style and the mapping mode is not MM_TEXT, `GetUpdateRect'
-- retrieves the rectangle in logical coordinates.
-- Otherwise, it retrieves the rectangle in client coordinates.
-- If there is no update region, `GetUpdateRect' retrieves an empty
-- rectangle (sets all coordinates to zero).
-- The `GetBkColor' function returns the current background color
-- for the specified device context.
-- The `GetBkMode' function returns the current background mix mode
-- for a specified device context. The background mix mode
-- of a device context affects text, hatched brushes, and pen styles
-- that are not solid lines.
-- The `GetROP2' function retrieves the foreground mix mode
-- of the specified device context. The mix mode specifies
-- how the pen or interior color and the color already on the screen
-- are combined to yield a new color.
-- The `GrayString' function draws gray text at the specified location.
-- The function draws the text by copying it into a memory bitmap,
-- graying the bitmap, and then copying the bitmap to the screen.
-- The function grays the text regardless of the selected brush
-- and background. `GrayString' uses the font currently selected
-- for the specified device context.
-- If the `lpOutputFunc' parameter is NULL, GDI uses the `TextOut'
-- function, and the `lpData' parameter is assumed to be a pointer
-- to the character string to be output. If the characters to be output
-- cannot be handled by `TextOut' (for example, the string is stored
-- as a bitmap), the application must supply its own output function.
-- The 'InvalidateRect' procedure adds a rectangle to the specified
-- window's update region. The update region represents the portion
-- of the window's client area that must be redrawn.
-- The 'RedrawWindow' function updates the specified rectangle
-- or region in a window's client area.
-- The 'SetBkColor' function sets the current background color to the
-- specified color value, or to the nearest physical color if the device
-- cannot represent the specified color value.
-- The 'SetBkMode' function sets the background mix mode of the specified
-- device context. The background mix mode is used with text, hatched
-- brushes, and pen styles that are not solid lines.
-- The 'SetROP2' function sets the current foreground mix mode.
-- GDI uses the foreground mix mode to combine pens and interiors
-- of filled objects with the colors already on the screen.
-- The foreground mix mode defines how colors from the brush or pen and
-- the colors in the existing image are to be combined.
-- The 'UpdateWindow' procedure updates the client area of the specified
-- window by sending a WM_PAINT message to the window if the window's
-- update region is not empty. The procedure sends a WM_PAINT message
-- directly to the window procedure of the specified window,
-- bypassing the application queue. If the update region is empty,
-- no message is sent.
INDEX | CLUSTER | FEATURES | SHORT | FRAMES | NO FRAMES |