#include "ltlst.h"
L_LTLST_API L_VOID L_UseImageListControl()
Dynamically loads the appropriate DLL to let your program use the LTIMGLISTCLASS registered class.
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.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
Functions: |
|
Topics: |
ImageList Control Messages, ImageList Control Command Notifications, Using the ImageList Control |
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;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET