Hola a todos,
Ya conseguí definir y usar una función usando:
DLL FUNCTION TerCreateWindowAlt( x AS LONG, ;
y AS LONG, ;
width AS LONG, ;
height AS LONG, ;
IsContained AS LONG, ;
hParentWnd AS LONG, ;
styles AS LONG ) ;
AS LONG PASCAL FROM "TerCreateWindowAlt" LIB "ter16.dll"
Ahora se me complica (un poco/bastante?), se me presenta definir esta otra función:
HWND CreateTerWindow(ptr)
en donde ptr es:
struct arg_list far *ptr;
The ptr argument points to a structure that provides the initial parameters to open a window.
This structure includes the following parameters:
struct arg_list {
int x
int y
int width
int height
int LineLimit
BOOL WordWrap
BOOL PrintView
BOOL PageMode
BOOL FittedView
BOOL ShowStatus
BOOL ShowMenu
BOOL ShowHorBar
BOOL ShowVerBar
BOOL ruler
BOOL ToolBar
BOOL UserCanClose
BOOL BorderMargins
BOOL ReadOnly
int InitLine
char InputType
char file[129]
HANDLE hBuffer
long BufferLen
char delim
int SaveFormat
HANDLE hInst
HWND hParentWnd
HWND hTextWnd
DWORD style
char FontTypeFace[30]
int PointSize
BOOL open
BOOL modified
}
Me pueden ayudar a definir esta función para ser usada desde FWH?
Saludos y gracias.
Carlos G.