Click here to Skip to main content
15,896,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionStatic pointer Pin
kumar sanghvi13-Aug-09 4:22
kumar sanghvi13-Aug-09 4:22 
AnswerRe: Static pointer Pin
Cedric Moonen13-Aug-09 4:29
Cedric Moonen13-Aug-09 4:29 
GeneralRe: Static pointer Pin
kumar sanghvi13-Aug-09 5:03
kumar sanghvi13-Aug-09 5:03 
GeneralRe: Static pointer Pin
sashoalm13-Aug-09 21:00
sashoalm13-Aug-09 21:00 
QuestionSequencing or queuing parallel process [modified] Pin
s v joshi13-Aug-09 3:36
s v joshi13-Aug-09 3:36 
AnswerRe: Sequencing or queuing parallel process Pin
Iain Clarke, Warrior Programmer13-Aug-09 4:10
Iain Clarke, Warrior Programmer13-Aug-09 4:10 
AnswerRe: Sequencing or queuing parallel process Pin
Stuart Dootson13-Aug-09 5:09
professionalStuart Dootson13-Aug-09 5:09 
QuestionCFileDialog::HideControl() broken Pin
softwaremonkey13-Aug-09 2:47
softwaremonkey13-Aug-09 2:47 
Hi,

In an older (MSVC++6.0) project I used HideControl(edt1) to hide the filename edit control in a CFileDialog derrived class, which worked fine at the time.

When I compile this project with MSDEV2008, the code complies OK but control is no longer hidden.

Other controls that I have hidden appear to work OK, its just 'edt1' that wont go away!

Heres my code:
BOOL CFolderDialog::OnInitDialog() 
{
	CFileDialog::OnInitDialog();
	GetParent()->;SetWindowText(_T("Select Folder"));
	SetControlText(IDOK, _T("OK"));

	// Hide the "Save As" static text and list control
	// Hide the "File Type" static text and the combobox
	HideControl(stc2);
	HideControl(stc3);
	HideControl(cmb1);
	HideControl(edt1);
	return TRUE;
}


Anyone else come across this? Frown | :(

TIA

Tony
AnswerRe: CFileDialog::HideControl() broken PinPopular
Stuart Dootson13-Aug-09 3:25
professionalStuart Dootson13-Aug-09 3:25 
GeneralRe: CFileDialog::HideControl() broken Pin
softwaremonkey13-Aug-09 4:30
softwaremonkey13-Aug-09 4:30 
AnswerRe: CFileDialog::HideControl() broken Pin
Iain Clarke, Warrior Programmer13-Aug-09 3:52
Iain Clarke, Warrior Programmer13-Aug-09 3:52 
QuestionStrange runtime behavior without breakpoint Pin
Tomas(cz)13-Aug-09 0:55
Tomas(cz)13-Aug-09 0:55 
AnswerRe: Strange runtime behavior without breakpoint Pin
Code-o-mat13-Aug-09 2:07
Code-o-mat13-Aug-09 2:07 
GeneralRe: Strange runtime behavior without breakpoint Pin
Tomas(cz)13-Aug-09 3:41
Tomas(cz)13-Aug-09 3:41 
QuestionCapture inactive desktop in windows Pin
Stifly13-Aug-09 0:36
Stifly13-Aug-09 0:36 
AnswerRe: Capture inactive desktop in windows Pin
Code-o-mat13-Aug-09 6:57
Code-o-mat13-Aug-09 6:57 
QuestionRandom Name Generator Pin
Chuck Vought13-Aug-09 0:30
Chuck Vought13-Aug-09 0:30 
QuestionRe: Random Name Generator Pin
CPallini13-Aug-09 0:55
mveCPallini13-Aug-09 0:55 
AnswerRe: Random Name Generator Pin
Chuck Vought13-Aug-09 2:11
Chuck Vought13-Aug-09 2:11 
GeneralRe: Random Name Generator Pin
CPallini13-Aug-09 2:31
mveCPallini13-Aug-09 2:31 
GeneralRe: Random Name Generator Pin
Chuck Vought13-Aug-09 3:10
Chuck Vought13-Aug-09 3:10 
General[Message Deleted] Pin
Chuck Vought13-Aug-09 4:17
Chuck Vought13-Aug-09 4:17 
GeneralRe: Random Name Generator Pin
sashoalm13-Aug-09 4:48
sashoalm13-Aug-09 4:48 
GeneralRe: Random Name Generator Pin
Sauce!14-Aug-09 1:04
Sauce!14-Aug-09 1:04 
GeneralRe: Random Name Generator Pin
CPallini17-Aug-09 22:08
mveCPallini17-Aug-09 22:08 

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.