"GetClientRect" Of "User32"
Posted: Mon Nov 18, 2013 8:30 am
I am trying to convert a VB6 file into FnxBasic, eventually allowing me to view PDF files in a forms "window".
I am having trouble with "GetClientRect" Of "User32"
Here is my code so far:
Declare FormRectangle As "GetClientRect" Of "User32"
hWnd As Long
rc As Rectangle
End Declare
With FormRectangle
hWnd = MainForm.hWnd
` rc
` Execute
End with
Does anybody know if I can actually use "GetClientRect" Of "User32" in FnxBasic, and if I can does anybody know the correct code to create a window on a form using it
Many thanks in advance!!!!
Regards
Darren
I am having trouble with "GetClientRect" Of "User32"
Here is my code so far:
Declare FormRectangle As "GetClientRect" Of "User32"
hWnd As Long
rc As Rectangle
End Declare
With FormRectangle
hWnd = MainForm.hWnd
` rc
` Execute
End with
Does anybody know if I can actually use "GetClientRect" Of "User32" in FnxBasic, and if I can does anybody know the correct code to create a window on a form using it
Many thanks in advance!!!!
Regards
Darren