LImageListControl::GetRowCount

Summary

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

Syntax

#include "ltwrappr.h"

L_INT LImageListControl::GetRowCount(L_VOID)

Returns

Value Meaning
>= 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

Platforms

Win32, x64.

See Also

Functions

Topics

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; 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.