Hi
I don't think I am using the correct syntax for the identifiers.
Here is a very bare project in which I am attempting to set option1.
I know I can default it in properties, but I need to do this using code.
Can any one tell me where I have "missed the boat"
Thanks in advance
Ian B
~~~
Function FORM1_WM_CREATE ( _
hWndForm As Dword, _ ' handle of Form
ByVal UserData As Long _ ' optional user defined Long value
) As Long
FF_Control_SetOption( HWND_FORM1, HWND_FORM1_OPTION1, HWND_FORM1_OPTION2, HWND_FORM1_OPTION1 )
End Function
~~~
Should be:
FF_Control_SetOption HWND_FORM1, IDC_FORM1_OPTION1, IDC_FORM1_OPTION2, IDC_FORM1_OPTION1
Note the 2nd, 3rd and 4th parameters are IDC_ instead of HWND_