#include "ltwrappr.h"
HWND LAnnotationWindow::CreateWnd(hWndParent, nID=0, dwStyle=WS_VISIBLE|L_BS_CENTER|L_BS_PROCESSKEYBOARD, x=0, y=0, nCX=200, nCY=200)
HWND hWndParent; |
handle to the parent window |
L_INT nID; |
the control's id |
DWORD dwStyle; |
the control's style |
L_INT x; |
x position for the annotation bitmap window |
L_INT y; |
y position for the annotation bitmap window |
L_INT nCX; |
width of the annotation bitmap window |
L_INT nCY; |
height of the annotation bitmap window |
Creates the annotation bitmap window control using the specified parameters.
Parameter |
Description |
hWndParent |
Handle to the parent window. |
nID |
The control's id. |
dwStyle |
The control's style. Apply any combination of window styles and LEAD window styles. For more information on Windows styles, refer to your compilers help file. For more information on LEAD window styles, refer to Bitmap Window LEAD specific styles. |
x |
X coordinate of the origin of the annotation bitmap window. |
y |
Y coordinate of the origin of the annotation bitmap window. |
nCX |
The width of the annotation bitmap window. |
nCY |
The height of the annotation bitmap window. |
The window handle of the created window if the function was successful, otherwise NULL.
This function causes the class object to create the control window using the specified parameters.
It will also initialize the annotation automation engine..
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
LTANN 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: |
|
|
|
|
|
|
L_INT LAnnotationWindow_CreateWndExample(HWND hParentWnd)
{
// this will call the constructor and will initialize the bitmap window with the specified parameters.
LAnnotationWindow MyLAnnotationWindow;
HWND hWnd=MyLAnnotationWindow.CreateWnd(hParentWnd,15,WS_VISIBLE,0,0,300,400);
if(hWnd!=NULL)
{
/*the function was successful */
return SUCCESS;
}
else
{
/* there is an error */
return FAILURE;
}
}
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
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.