Click here to Skip to main content
15,918,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTranslating C# structure to C++ Pin
__DanC__28-Jul-08 4:08
__DanC__28-Jul-08 4:08 
AnswerRe: Translating C# structure to C++ Pin
Luc Pattyn28-Jul-08 4:21
sitebuilderLuc Pattyn28-Jul-08 4:21 
GeneralRe: Translating C# structure to C++ Pin
Matthew Faithfull28-Jul-08 4:21
Matthew Faithfull28-Jul-08 4:21 
GeneralRe: Translating C# structure to C++ Pin
__DanC__28-Jul-08 4:34
__DanC__28-Jul-08 4:34 
GeneralRe: Translating C# structure to C++ Pin
Matthew Faithfull28-Jul-08 4:49
Matthew Faithfull28-Jul-08 4:49 
GeneralRe: Translating C# structure to C++ Pin
__DanC__28-Jul-08 6:33
__DanC__28-Jul-08 6:33 
GeneralRe: Translating C# structure to C++ Pin
Mark Salsbery28-Jul-08 7:19
Mark Salsbery28-Jul-08 7:19 
QuestionShadow after using CFiledialog in the dialog Pin
bhanu_850928-Jul-08 3:44
bhanu_850928-Jul-08 3:44 
Hello my dear friends,

I have developed a code to analyze a file (huge size). My application is MFC Dialog based. I use CFiledialog to open the files, after selecting the files I click OK and after that a shadow is appearing on my dialog for the size of the CFiledialog. This is very distraction to the GUI I have developed. Is there any way to remove the shadow after selecting the file.

Code is :
CString Test::OpenFile()
{
        CString fname=LPCTSTR("");
	CFileDialog fileDlg(TRUE, _T (".dat"),NULL,OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST, _T ("Data File (*.dat)|*.dat|Data File (*.dat)|*.dat|"),this);
        if(fileDlg.DoModal()==IDOK)
	{
	    fname = fileDlg.GetPathName();
	}	
	else
	{
	    MessageBox(TEXT("Select the File"));
	}
	return fname;
}


Please advice. Many thanks in advance.
AnswerRe: Shadow after using CFiledialog in the dialog Pin
bhanu_850928-Jul-08 4:55
bhanu_850928-Jul-08 4:55 
AnswerRe: Shadow after using CFiledialog in the dialog Pin
Rajesh R Subramanian28-Jul-08 5:31
professionalRajesh R Subramanian28-Jul-08 5:31 
AnswerRe: Shadow after using CFiledialog in the dialog Pin
Mark Salsbery28-Jul-08 7:27
Mark Salsbery28-Jul-08 7:27 
AnswerRe: Shadow after using CFiledialog in the dialog Pin
shivareaj7-Oct-12 23:17
shivareaj7-Oct-12 23:17 
Questionconverting char* into BYTE* Pin
subramanyeswari28-Jul-08 3:17
subramanyeswari28-Jul-08 3:17 
AnswerRe: converting char* into BYTE* Pin
CPallini28-Jul-08 3:22
mveCPallini28-Jul-08 3:22 
GeneralRe: converting char* into BYTE* Pin
toxcct28-Jul-08 3:33
toxcct28-Jul-08 3:33 
GeneralRe: converting char* into BYTE* Pin
VaDa Um Uie28-Jul-08 3:45
VaDa Um Uie28-Jul-08 3:45 
GeneralRe: converting char* into BYTE* Pin
toxcct28-Jul-08 3:50
toxcct28-Jul-08 3:50 
GeneralRe: converting char* into BYTE* Pin
VaDa Um Uie28-Jul-08 3:52
VaDa Um Uie28-Jul-08 3:52 
GeneralRe: converting char* into BYTE* Pin
CPallini28-Jul-08 7:20
mveCPallini28-Jul-08 7:20 
GeneralRe: converting char* into BYTE* Pin
toxcct28-Jul-08 9:04
toxcct28-Jul-08 9:04 
GeneralRe: converting char* into BYTE* Pin
CPallini28-Jul-08 11:34
mveCPallini28-Jul-08 11:34 
AnswerRe: converting char* into BYTE* Pin
Matthew Faithfull28-Jul-08 3:22
Matthew Faithfull28-Jul-08 3:22 
GeneralRe: converting char* into BYTE* Pin
toxcct28-Jul-08 3:30
toxcct28-Jul-08 3:30 
GeneralRe: converting char* into BYTE* Pin
Matthew Faithfull28-Jul-08 4:11
Matthew Faithfull28-Jul-08 4:11 
GeneralRe: converting char* into BYTE* Pin
Rajesh R Subramanian28-Jul-08 4:30
professionalRajesh R Subramanian28-Jul-08 4:30 

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.