Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Application Crash error Pin
CPallini18-Dec-07 21:46
mveCPallini18-Dec-07 21:46 
GeneralRe: Application Crash error Pin
Peter Weyzen18-Dec-07 21:53
Peter Weyzen18-Dec-07 21:53 
GeneralRe: Application Crash error Pin
Nelek18-Dec-07 22:22
protectorNelek18-Dec-07 22:22 
GeneralRe: Application Crash error Pin
Hamid_RT18-Dec-07 22:54
Hamid_RT18-Dec-07 22:54 
JokeRe: Application Crash error Pin
Nelek18-Dec-07 23:15
protectorNelek18-Dec-07 23:15 
GeneralRe: Application Crash error Pin
Hamid_RT19-Dec-07 1:34
Hamid_RT19-Dec-07 1:34 
QuestionHow to remove the Tittlebar & Menu bar of a SDI application Pin
msr_codeproject18-Dec-07 21:19
msr_codeproject18-Dec-07 21:19 
AnswerRe: How to remove the Tittlebar & Menu bar of a SDI application Pin
santhoshv8418-Dec-07 21:30
santhoshv8418-Dec-07 21:30 
Hi,

If you dont want Menu and ToolBar in your SDI application.
Comment the Hilighted Lines in this program.

int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CFrameWnd::OnCreate(lpCreateStruct) == -1)
return -1;

//if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | //WS_VISIBLE | CBRS_TOP
// | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | //CBRS_SIZE_DYNAMIC) ||
// !m_wndToolBar.LoadToolBar(IDR_MAINFRAME))
//{
// TRACE0("Failed to create toolbar\n");
// return -1; // fail to create
//}


if (!m_wndStatusBar.Create(this) ||
!m_wndStatusBar.SetIndicators(indicators,
sizeof(indicators)/sizeof(UINT)))
{
TRACE0("Failed to create status bar\n");
return -1; // fail to create
}

// TODO: Delete these three lines if you don't want the toolbar to
// be dockable
//m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
//EnableDocking(CBRS_ALIGN_ANY);
//DockControlBar(&m_wndToolBar);

return 0;
}
Thanks and Regards.
SANTHOSH V

AnswerTittlebar? Is that save for work? Pin
jhwurmbach18-Dec-07 23:26
jhwurmbach18-Dec-07 23:26 
GeneralDisconnecting from the internet programmtically Pin
emmmatty118-Dec-07 21:09
emmmatty118-Dec-07 21:09 
GeneralRe: Disconnecting from the internet programmtically Pin
David Crow19-Dec-07 3:15
David Crow19-Dec-07 3:15 
GeneralRe: Disconnecting from the internet programmtically Pin
jhwurmbach19-Dec-07 3:35
jhwurmbach19-Dec-07 3:35 
Questionwhy Visual Studio can not optimize the initialization code? Pin
George_George18-Dec-07 20:35
George_George18-Dec-07 20:35 
AnswerRe: why Visual Studio can not optimize the initialization code? Pin
Nelek18-Dec-07 22:17
protectorNelek18-Dec-07 22:17 
GeneralRe: why Visual Studio can not optimize the initialization code? Pin
George_George18-Dec-07 23:13
George_George18-Dec-07 23:13 
GeneralRe: why Visual Studio can not optimize the initialization code? Pin
jhwurmbach19-Dec-07 3:47
jhwurmbach19-Dec-07 3:47 
GeneralRe: why Visual Studio can not optimize the initialization code? Pin
George_George19-Dec-07 3:58
George_George19-Dec-07 3:58 
QuestionWhat is the Maximum size of WCHAR Pin
santhoshv8418-Dec-07 20:05
santhoshv8418-Dec-07 20:05 
AnswerRe: What is the Maximum size of WCHAR Pin
Don Box18-Dec-07 20:26
Don Box18-Dec-07 20:26 
AnswerRe: What is the Maximum size of WCHAR Pin
codeII18-Dec-07 20:31
codeII18-Dec-07 20:31 
AnswerRe: What is the Maximum size of WCHAR Pin
Peter Weyzen18-Dec-07 21:52
Peter Weyzen18-Dec-07 21:52 
AnswerRe: What is the Maximum size of WCHAR Pin
David Crow19-Dec-07 3:29
David Crow19-Dec-07 3:29 
Questionmy problem is related to file handling Pin
rajneshmalik18-Dec-07 20:05
rajneshmalik18-Dec-07 20:05 
GeneralRe: my problem is related to file handling [modified] Pin
Nelek18-Dec-07 22:15
protectorNelek18-Dec-07 22:15 
GeneralRe: my problem is related to file handling Pin
Iain Clarke, Warrior Programmer19-Dec-07 1:22
Iain Clarke, Warrior Programmer19-Dec-07 1:22 

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.