Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Running Windows NT Service on Windows Server 2003 Pin
Simes30-Mar-06 2:50
Simes30-Mar-06 2:50 
QuestionRe: Running Windows NT Service on Windows Server 2003 Pin
David Crow30-Mar-06 2:56
David Crow30-Mar-06 2:56 
AnswerRe: Running Windows NT Service on Windows Server 2003 Pin
Simes30-Mar-06 3:27
Simes30-Mar-06 3:27 
QuestionRe: Running Windows NT Service on Windows Server 2003 Pin
David Crow30-Mar-06 4:13
David Crow30-Mar-06 4:13 
AnswerRe: Running Windows NT Service on Windows Server 2003 Pin
Simes31-Mar-06 0:31
Simes31-Mar-06 0:31 
QuestionRe: Running Windows NT Service on Windows Server 2003 Pin
David Crow31-Mar-06 4:46
David Crow31-Mar-06 4:46 
AnswerRe: Running Windows NT Service on Windows Server 2003 Pin
Simes2-Apr-06 23:07
Simes2-Apr-06 23:07 
QuestionCFileDialog doesn't update when I change the file type. Pin
IlanTal29-Mar-06 23:39
IlanTal29-Mar-06 23:39 
I am using CFileDialog for a "save as" where I have to choices for file types: All Files or Avi Files.
I just noticed something very strange and wondered if anyone else has seen the same thing, or better knows how to fix it.
First of all, the "save as" function is done correctly, so 99% of the problem is solved.
It comes up with All Files and indeed shows all files. The problem comes when I change to show only avi files. The window goes blank. If I go back to all files, it stays blank. Only if I choose a different folder is it refreshed properly (with either all or avi files).
I tried it in Paint and there if you change the file type, the window refreshes correctly. In CFileDialog it doesn't.

My code is:
CFileDialog filedlg( FALSE, "avi", // default extension
"mip1.avi", // current file name
OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST | OFN_LONGNAMES,
"All Files (*.*)|*.*|Avi Files (*.avi)|*.avi||", NULL);

Has anyone else seen this, or can tell me what is wrong?

Thanks,
Ilan

AnswerRe: CFileDialog doesn't update when I change the file type. Pin
Ștefan-Mihai MOGA29-Mar-06 23:58
professionalȘtefan-Mihai MOGA29-Mar-06 23:58 
GeneralRe: CFileDialog doesn't update when I change the file type. Pin
IlanTal30-Mar-06 0:22
IlanTal30-Mar-06 0:22 
AnswerRe: CFileDialog doesn't update when I change the file type. Pin
Rage30-Mar-06 0:03
professionalRage30-Mar-06 0:03 
GeneralRe: CFileDialog doesn't update when I change the file type. Pin
IlanTal30-Mar-06 0:33
IlanTal30-Mar-06 0:33 
GeneralRe: CFileDialog doesn't update when I change the file type. Pin
IlanTal30-Mar-06 0:43
IlanTal30-Mar-06 0:43 
QuestionRe: CFileDialog doesn't update when I change the file type. Pin
Roger Stoltz30-Mar-06 2:01
Roger Stoltz30-Mar-06 2:01 
AnswerRe: CFileDialog doesn't update when I change the file type. Pin
IlanTal30-Mar-06 2:14
IlanTal30-Mar-06 2:14 
QuestionRe: CFileDialog doesn't update when I change the file type. Pin
David Crow30-Mar-06 2:32
David Crow30-Mar-06 2:32 
AnswerRe: CFileDialog doesn't update when I change the file type. Pin
IlanTal30-Mar-06 2:35
IlanTal30-Mar-06 2:35 
AnswerRe: CFileDialog doesn't update when I change the file type. Pin
David Crow30-Mar-06 2:08
David Crow30-Mar-06 2:08 
GeneralRe: CFileDialog doesn't update when I change the file type. Pin
IlanTal30-Mar-06 2:17
IlanTal30-Mar-06 2:17 
QuestionRe: CFileDialog doesn't update when I change the file type. Pin
David Crow30-Mar-06 2:30
David Crow30-Mar-06 2:30 
AnswerRe: CFileDialog doesn't update when I change the file type. Pin
IlanTal30-Mar-06 2:33
IlanTal30-Mar-06 2:33 
AnswerRe: CFileDialog doesn't update when I change the file type. Pin
Hamid_RT30-Mar-06 2:12
Hamid_RT30-Mar-06 2:12 
GeneralRe: CFileDialog doesn't update when I change the file type. Pin
IlanTal30-Mar-06 2:18
IlanTal30-Mar-06 2:18 
QuestionHow can i input a string(user input) into Static Text that string display in length of Static Text on screen. Pin
fcoder29-Mar-06 23:23
fcoder29-Mar-06 23:23 
AnswerRe: How can i input a string(user input) into Static Text that string display in length of Static Text on screen. Pin
toxcct29-Mar-06 23:26
toxcct29-Mar-06 23:26 

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.