Private Sub AnaGrammSelonMasqueP(StrMasque As String, StrMot As String, IntLgMini As Integer, Optional MotComplet As String, Optional PtrArbre As Long, Optional PtrMasque As Integer)
Dim i As Integer
Dim IndexFils As Integer
Dim TempMot As String
Dim Lettre As String
Dim LettresUtilisees As String
Dim k As Integer
Dim SavePtr As Long
Dim StrTemp As String
For i = 1 To Len(StrMot)
Lettre = Mid(StrMot, i, 1)
If Lettre <> "?" Then
If InStr(LettresUtilisees, Lettre) = 0 Then
If PtrMasque < Len(StrMasque) Then
PtrMasque = PtrMasque + 1
If Mid(StrMasque, PtrMasque, 1) <> "*" Then
Do
Lettre = Mid(StrMasque, PtrMasque, 1)
IndexFils = Asc(Left(Lettre, 1)) - 64
If mDico.GetNoeud(PtrArbre, IndexFils) <> 0 Then
MotComplet = MotComplet + Lettre
PtrMasque = PtrMasque + 1
If mDico.MotExisteByNoeud(PtrArbre, IndexFils) Then