This topic is now archived and is closed to further replies.

MFC :: Supporting Multiple File Extensions (Please help! :) )

This topic is 5311 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, thanks for reading. I hope you can help. I am taking a break from my 3D DirectX game, and I am programming a basic Java IDE. I would like to know how I would use the String Table to support multiple file extensions. For example, I used the MFC AppWizard (Exe) and it supports .java files right now. How can I modify the string table to support multiple file types. Here is the string right now: \nJDev\nJavaDev\nJavaDev Files (*.java)\\nJavaDev.Document\nJavaDev Document And it is declared as IDR_JDEVTYPE. What would I add to the end of that string to make it support .txt files, too? I tried things such as this: \nJDev\nJavaDev\nJavaDev Files (*.java)\\nJavaDev.Document\nJavaDev Document|\nJDev\nJavaDev\nText Files (*.txt)\\nJavaDev.Document\nJavaDev Document But that doesn''t work. Thanks in advance! If thispost = 0 Then GoBack() Else Read() End If

Share this post

Link to post
Share on other sites