TerGetPictInfo
Retrieve assorted information for a picture type object.
BOOL TerGetPictInfo(hWnd, pict, style, rect, align, aux)
HWND hWnd; | The handle of the window to be accessed |
int pict; | Id of the picture. Must be a valid number between 0 and TotalFonts - 1. |
LPINT style; | pointer to receive the style bits |
LPRECT rect; | pointer to receive the current screen location and size (in device units) of the picture. |
LPINT align; | pointer to receive the picture alignment flags. |
LPINT aux; | pointer to receive the auxiliary id associated with the picture. |
Comment: While using this function as an OCX, the 'rect' parameter must be passed as NULL (or nothing) because 'rectangle' (LPRECT) is not a common data type. Use this API as a DLL function if you need to retrieve the picture rectangle.
Return Value: This function returns TRUE when successful.