#include "ltwrappr.h"
HWND LVectorWindow::CreateWnd(hWndParent, nID=0, dwStyle=WS_VISIBLE|L_BS_PROCESSKEYBOARD, x=0, y=0, nCx=200, nCy=200)
Creates the vector window control using the specified parameters.
Handle of the parent window.
The controls ID.
The style of the window control. Apply any combination of window styles and LEAD window styles. For more information on Windows styles, refer to your compilers help file. Currently only the LEAD style L_BS_PROCESSKEYBOARD (to enable keyboard processing) is supported for the LVectorWindow class.
X coordinate for the origin of the vector window.
Y coordinate for the origin of the vector window.
The width of the vector window.
The height of the vector window.
Value | Meaning |
---|---|
!NULL | The function was successful and the return value is the window handle for the created control. |
NULL | An error ocurred and the window could not be created. |
This function causes the class object to create the control window using the specified parameters.
This will fill in the m_hWnd data member with the handle to the new window.
If you call this function for a class object that already has a created window, the function will simply return m_hWnd.
Required DLLs and Libraries
Creates the LVectorWindow as a control.
Assumes pVectorWindow points to a valid LVectorWindow object.
#define CONTROL_X 30
#define CONTROL_Y 30
#define CONTROL_WIDTH 300
#define CONTROL_HEIGHT 300
L_INT LVectorWindow__CreateWndExample(HWND hWndParent, LVectorWindow *pVectorWindow)
{
LBase::LoadLibraries (LV_KRN | LT_FIL);
// Create the LVectorWindow control
if(pVectorWindow->CreateWnd( hWndParent,
901,
WS_VISIBLE|L_BS_PROCESSKEYBOARD,
CONTROL_X,
CONTROL_Y,
CONTROL_WIDTH,
CONTROL_HEIGHT ) == NULL)
return FAILURE;
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.