I have this macro:
Macro hello = EnableWindow
And i try to use it like this:
hWnd is the control's hwnd and only the firest hello is accepted by the compiler (8.04).
The 2nd gives me:
Mismatch with prior definition
Line 8: hello( hWnd, 0 )
In my opinion both should work??
Macro hello = EnableWindow
And i try to use it like this:
Code:
Local hWnd As Long hWnd = GetDlgItem( nCbHndl, %ID_FORM1_BUTTON1 ) hello hWnd, 0 hello( hWnd, 0 )
The 2nd gives me:
Mismatch with prior definition
Line 8: hello( hWnd, 0 )
In my opinion both should work??
Comment