Click here to Skip to main content
15,792,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Set AutoRun fail under win 7 Pin
yu-jian25-Jan-11 7:28
yu-jian25-Jan-11 7:28 
AnswerRe: Set AutoRun fail under win 7 Pin
yu-jian25-Jan-11 7:13
yu-jian25-Jan-11 7:13 
Questionshadow copy, deep copy and bitwie copy by constructor Pin
aesthetic.crazy25-Jan-11 3:26
aesthetic.crazy25-Jan-11 3:26 
AnswerRe: shadow copy, deep copy and bitwie copy by constructor Pin
CPallini25-Jan-11 3:44
mveCPallini25-Jan-11 3:44 
AnswerRe: shadow copy, deep copy and bitwie copy by constructor Pin
T210225-Jan-11 3:59
T210225-Jan-11 3:59 
AnswerRe: shadow copy, deep copy and bitwie copy by constructor Pin
Nemanja Trifunovic25-Jan-11 6:03
Nemanja Trifunovic25-Jan-11 6:03 
AnswerRe: shadow copy, deep copy and bitwie copy by constructor Pin
Andrew Brock25-Jan-11 6:11
Andrew Brock25-Jan-11 6:11 
QuestionDialogBar in SDI in MDI applcatiion Pin
Anu_Bala24-Jan-11 23:37
Anu_Bala24-Jan-11 23:37 
Hi,
My application is MDI application.But im making one window as SDI.In that window i want Menu,Customized toolbar(DialogBar).
What i did.
in app class
////////////Alarm View/////////////////////
pAlarmViewTemplate = new CSingleDocTemplate(
	IDR_ALARMMENU,
	RUNTIME_CLASS(CFoxboroDoc),
	RUNTIME_CLASS(CFrameWnd),
	RUNTIME_CLASS(CAlarmView)); 
	AddDocTemplate(pAlarmViewTemplate);


For loading DialogBar in Oncreate function
// Create the Alarm view dialog bar
if( !m_wndAlarmDlg.Create(this, IDD_ALARM_DIALOGBAR, CBRS_BOTTOM |CBRS_FLYBY|CBRS_SIZE_DYNAMIC, IDD_ALARM_DIALOGBAR))
{
TRACE0("Failed to create the Alarm\n");
return -1;      // fail to create
}

where m_wndAlarmDlg is a dialogbar class object.
But when executing ,it doesnot show dialog bar.when i check this variable in Create function,it shows
this = 0x0624ca70 {CAlarmView hWnd=0x00000000}

I dont know how to do that.
--------------------------------------
I choose this only one SDI window in MDI window for getting customized menu for AlarmView .But i dont know how to get customized menu in childwindow of MDI.If i get this one,then i dont want to go for SDI.
Anu

QuestionHow can i delete History and Cookies Directory in Internet explorer? Pin
yogish29324-Jan-11 20:18
yogish29324-Jan-11 20:18 
AnswerRe: How can i delete History and Cookies Directory in Internet explorer? Pin
KingsGambit24-Jan-11 21:18
KingsGambit24-Jan-11 21:18 
AnswerRe: How can i delete History and Cookies Directory in Internet explorer? Pin
T210224-Jan-11 22:59
T210224-Jan-11 22:59 
QuestionBreak point not hit error in VS2005 Pin
Jia10024-Jan-11 18:28
Jia10024-Jan-11 18:28 
AnswerRe: Break point not hit error in VC2005 Pin
T210224-Jan-11 18:51
T210224-Jan-11 18:51 
GeneralMessage Removed Pin
24-Jan-11 20:09
Jia10024-Jan-11 20:09 
GeneralRe: Break point not hit error in VC2005 Pin
T210224-Jan-11 20:50
T210224-Jan-11 20:50 
GeneralMessage Removed Pin
24-Jan-11 21:07
Jia10024-Jan-11 21:07 
GeneralRe: Break point not hit error in VS2005 Pin
T210224-Jan-11 23:51
T210224-Jan-11 23:51 
AnswerRe: Break point not hit error in VS2005 Pin
Stefan_Lang27-Jan-11 3:33
Stefan_Lang27-Jan-11 3:33 
GeneralMessage Removed Pin
27-Jan-11 19:00
Jia10027-Jan-11 19:00 
GeneralRe: Break point not hit error in VS2005 Pin
Stefan_Lang27-Jan-11 23:34
Stefan_Lang27-Jan-11 23:34 
GeneralMessage Removed Pin
28-Jan-11 17:49
Jia10028-Jan-11 17:49 
GeneralRe: Break point not hit error in VS2005 Pin
Stefan_Lang30-Jan-11 23:59
Stefan_Lang30-Jan-11 23:59 
QuestionHow to display a image in an Activex webpage Pin
simon alec smith24-Jan-11 10:48
simon alec smith24-Jan-11 10:48 
AnswerRe: How to display a image in an Activex webpage Pin
Richard MacCutchan24-Jan-11 11:27
mveRichard MacCutchan24-Jan-11 11:27 
GeneralRe: How to display a image in an Activex webpage Pin
yindoor24-Jan-11 17:42
yindoor24-Jan-11 17:42 

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.