using MatchDocTypa() in mfc appln..
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
hi in my program if i click on a file name the file should be opened in my mdi application..using pDocTemplate->OpenDocumentFile i'm opening the file..its working fine.. but if i again click the same file name its getting opened again although the file is already opened.. so i thought to use MatchDocType function but i don't know correct way to implement it...the argument MatchDocType (filename,CDocument (*& rpDocument))..here in this place i don't know what i've to giv for CDocument (*& rpDocument)...any suggestions please so that the file already opened should not get opened again... thanx in advance..