Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondrawing water in open gl in visual c++ Pin
nearest24-May-10 1:01
nearest24-May-10 1:01 
AnswerRe: drawing water in open gl in visual c++ Pin
Maximilien24-May-10 1:26
Maximilien24-May-10 1:26 
AnswerRe: drawing water in open gl in visual c++ Pin
Nuri Ismail24-May-10 2:55
Nuri Ismail24-May-10 2:55 
QuestionRemote Computer access Pin
hellogany23-May-10 23:35
hellogany23-May-10 23:35 
AnswerRe: Remote Computer access Pin
Richard MacCutchan23-May-10 23:47
mveRichard MacCutchan23-May-10 23:47 
QuestionRe: Remote Computer access Pin
David Crow24-May-10 3:06
David Crow24-May-10 3:06 
AnswerRe: Remote Computer access Pin
ThatsAlok25-May-10 1:50
ThatsAlok25-May-10 1:50 
QuestionCFileDialog not displaying existing files [modified] Pin
maycockt23-May-10 23:34
maycockt23-May-10 23:34 
Hi,

I'm using CFileDialog to display a list of files to open, but when I change the extension type I don't get a displayed list of the newly associated files.

CFileDialog fileOpen(TRUE, "dat", "*.dat", OFN_EXPLORER | OFN_FILEMUSTEXIST, "Data Files (*.dat)|.dat|Doc Files (*.doc)|.doc|All Files (*.*)|.*||");
if(IDOK == fileOpen.DoModal())
{
    ....
}


It really is as simple as that, but the explorer doesnt seem to want to display the files associated with the new extensions.

Any ideas?

TIA

Tony

BTW - I'm using Visual Studio 2003 on an XP machine

modified on Monday, May 24, 2010 5:42 AM

AnswerRe: CFileDialog not displaying existing files Pin
maycockt24-May-10 0:29
maycockt24-May-10 0:29 
QuestionGet all running Excel Pin
trioum23-May-10 22:36
trioum23-May-10 22:36 
AnswerRe: Get all running Excel Pin
Garth J Lancaster24-May-10 1:35
professionalGarth J Lancaster24-May-10 1:35 
GeneralRe: Get all running Excel Pin
trioum24-May-10 20:05
trioum24-May-10 20:05 
GeneralRe: Get all running Excel Pin
Garth J Lancaster24-May-10 20:07
professionalGarth J Lancaster24-May-10 20:07 
GeneralRe: Get all running Excel Pin
Garth J Lancaster24-May-10 20:18
professionalGarth J Lancaster24-May-10 20:18 
GeneralRe: Get all running Excel Pin
trioum24-May-10 20:34
trioum24-May-10 20:34 
GeneralRe: Get all running Excel Pin
Garth J Lancaster24-May-10 20:51
professionalGarth J Lancaster24-May-10 20:51 
QuestionMFC New Feature pack style problem! Pin
m_code23-May-10 22:21
m_code23-May-10 22:21 
QuestionChange Button Image on mouse over Pin
AbhiHcl23-May-10 21:50
AbhiHcl23-May-10 21:50 
AnswerRe: Change Button Image on mouse over Pin
namaskaaram23-May-10 23:35
namaskaaram23-May-10 23:35 
QuestionHow to Convert CString to char array? Pin
TechAvtar23-May-10 19:14
TechAvtar23-May-10 19:14 
AnswerRe: How to Convert CString to char array? Pin
Yusuf23-May-10 19:28
Yusuf23-May-10 19:28 
AnswerRe: How to Convert CString to char array? Pin
MS_TJ23-May-10 19:43
MS_TJ23-May-10 19:43 
AnswerRe: How to Convert CString to char array? Pin
Iain Clarke, Warrior Programmer23-May-10 20:56
Iain Clarke, Warrior Programmer23-May-10 20:56 
AnswerRe: How to Convert CString to char array? Pin
Aescleal24-May-10 4:17
Aescleal24-May-10 4:17 
QuestionSplitter Window for MDI. Pin
janaswamy uday23-May-10 16:04
janaswamy uday23-May-10 16:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.