Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LImageListControl::GetRowCount

Show in webframe

#include "ltwrappr.h"

L_INT LImageListControl::GetRowCount(L_VOID)

Gets the current number of item rows in the ImageList Control.

Returns

>= 0

The number of item rows.

<0

An error occurred. Refer to Return Codes.

Comments

This message will return the total number of item rows in the ImageList Control.

Required DLLs and Libraries

LTDIS
LTFIL
LTIMG

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Topics:

Using the ImageList Control

Example

L_INT LImageListControl__GetRowCountExample(HWND hParent)
{
   LImageListControl m_ImgList;
   // get the current rows/columns
   L_INT nRows, nCols;
   if(m_ImgList.CreateControl(hParent,0) == NULL)
      return FAILURE;
   nRows = m_ImgList.GetRowCount();
   nCols = m_ImgList.GetColumnCount();
   CString csOut;
   csOut.Format(TEXT("Rows: %ld\nCols: %ld"), nRows, nCols);
   AfxMessageBox(csOut);
   return SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.