SetWindowExtEx

此頁沒有內容條目
內容

SetWindowExtEx

VB聲明

Declare Function SetWindowExtEx Lib "gdi32" Alias "SetWindowExtEx" (ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpSize As SIZE) As Long

說明

設置指定設備場景窗口范圍

返回值

Long,執(zhí)行成功為非零值,失敗為0

參數(shù)表

參數(shù)

類型及說明

hdc

Long,設備場景句柄

nX,nY

Long,窗口水平和垂直范圍

lpSize

SIZE,裝載設備場景原來的水平和垂直窗口范圍(以邏輯單元表示)的結構

注解

本函數(shù)只在MM_ISOTROPIC和MM_ANISOTROPIC映射模式下有效。在MM_ISOTROPIC模式下,設置視口范圍必須在窗口范圍之前

Top