 |
CreateCompatibleDC ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Creates a memory device context (DC) compatible with the specified device. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HDC CreateCompatibleDC(
HDC hdc // handle to DC
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CreateCompatibleDC IN gdi32;
INTEGER hdc
|
 |
 |
 |
| Parameters: |
 |
hdc
[in] Handle to an existing DC. If this handle is NULL, the function creates a memory DC compatible with the application"s current screen. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is the handle of a memory device context. |
 |
 |
| My comment: |
 |
| After you are done with the memory device context, you must free it by using the DeleteDC function. |
 |
 |
| Word Index links for the CreateCompatibleDC : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-07-12 12:00:00 | | Modified: | 2001-11-26 16:02:23 | Visited in last 7 days: 82 |