Dynamically loads the appropriate DLL to let your program use the LTIMGLISTCLASS registered class.
#include "ltlst.h"
L_LTLST_API L_VOID L_UseImageListControl()
None.
Because the LTIMGLISTCLASS registered class uses messages rather than function calls, the required dynamic link library (LTLSTU.dll) is not loaded automatically. Therefore, the toolkit provides this dummy function in the DLL, which you can call before using the registered class messages.
Win32, x64.
L_INT UseImageListControlExample(
HWND hWnd,
HWND * phCtrl,
HINSTANCE hInst)
{
/* create the image list control */
L_UseImageListControl(); /* make sure dll is loaded */
*phCtrl = CreateWindow(LTIMGLISTCLASS,
TEXT(""),
WS_CHILD | WS_BORDER,
10,
10,
250,
250,
hWnd,
NULL,
hInst,
NULL);
ShowWindow(*phCtrl, SW_SHOW);
if(!*phCtrl)
return 0;
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