Purpose
Initialize a DeviceContext for drawing in the browser.
Class
Type
Method
Syntax
<oBrowser>:InitDC(<hDC>) Æ lSuccess
Arguments
<hDC> | The DeviceContext which is to be initialized. |
Data Type: | Pointer |
Return Value
lSuccess | A logical value that indicates whether the DeviceContext was initialized. |
TRUE | The DeviceContext was initialized. |
FALSE | The DeviceContext could not be initialized. |
Data Type: | Logic |
Description
All methods those draw in the browser need a DeviceContext in which one draws. The method bBrowser:InitDC() initialize the specified DeviceContext with
1.the background mode (see also Windows SDK function SetBkMode() )
2.the font of the column values (see also bBrowser:DataView) and
3.the foreground color of the column values (see also bBrowser:DataView)
The DeviceContext is not created by the method but must already exist.
Page url: http://www.YOURSERVER.com/index.html?bbrowser_initdc.htm