I have another problem you may be able to help me with.
I have five radio buttons IDs 1001 to 1005, IDC_OPTION = 1001
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
The 'If' is true with ID = 1003 and 1001 1005 1003 gets printed.
However, none of the radio buttons gets checked when 1003 should be. Do I have a Casting problem with the identifiers?
Added: I tried casting the identifiers as LONG but that didn't help.