L_INT LImageListControl::GetRowCount(L_VOID)
Gets the current number of item rows in the ImageList Control.
| Value | Meaning |
|---|---|
| >= 0 | The number of item rows. |
| <0 | An error occurred. Refer to Return Codes. |
This message will return the total number of item rows in the ImageList Control.
Win32, x64.
L_INT LImageListControl__GetRowCountExample(HWND hParent){LImageListControl m_ImgList;// get the current rows/columnsL_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 Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
