Hi José
I have another problem you may be able to help me with.
I have five radio buttons IDs 1001 to 1005, IDC_OPTION = 1001
With this:
Code: Select all
Dim As Hwnd hDlg = pWindow.hWindow
For i = 1 to NumOfPaths
If tempString0 = tempString1(i) then
Print IDC_OPTION,IDC_OPTION + NumOfPaths -1, IDC_OPTION + i -1
CheckRadioButton( hDlg, IDC_OPTION, IDC_OPTION + NumOfPaths -1, IDC_OPTION + i -1 )
Found = True
Exit for
End If
Next
However, none of the radio buttons gets checked when 1003 should be. Do I have a Casting problem with the identifiers?
Any ideas?
Added: I tried casting the identifiers as LONG but that didn't help.