LVectorWindow::LVectorWindow
#include "ltwrappr.h"
L_VOID LVectorWindow::LVectorWindow(L_VOID)
L_VOID LVectorWindow::LVectorWindow(hWndParent, nID, dwStyle, x, y, nCx, nCy)
HWND hWndParent; |
/* window handle */ |
L_INT nID; |
/* control ID */ |
DWORD dwStyle; |
/* window style */ |
L_INT x; |
/* x coordinate */ |
L_INT y; |
/* y coordinate */ |
L_INT nCx; |
/* width of the window */ |
L_INT nCy; |
/* height of the window */ |
Constructs and initializes the different member variables of the LVectorWindow object.
Parameter |
Description |
hWndParent |
Handle of the parent window. |
nID |
The controls ID. |
dwStyle |
Specifies 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 Window styles |
x |
The starting x position. |
y |
The starting y position. |
nCx |
The width of the vector window. |
nCy |
The height of the vector window. |
Returns
None
Comments
LVectorWindow:: LVectorWindow () is a constructor for the LVectorWindow object.
LVectorWindow:: LVectorWindow (hWndParent, nID, dwStyle, x, y, nCX, nCY) creates the vector window control using the specified options. This will fill in the m_hWnd data member with the handle to the new window.
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
Example
// This is an example for LVectorWindow::LVectorWindow(): L_INT LVectorWindow__LVectorWindowExample_1() { LVectorWindow myVectorWindow; //destructor called when out of scope return SUCCESS; } // This is an example for LVectorWindow:: LVectorWindow (hWndParent, nID, dwStyle, x, y, nCX, nCY) L_INT LVectorWindow__LVectorWindowExample_2(HWND hWndParent) { LVectorWindow myVectorWindow(hWndParent,15,WS_VISIBLE,0,0,100,100); return SUCCESS; }