Click here to Skip to main content
15,905,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CImageList & Replace with bitmap mask Pin
2-Jan-02 8:00
suss2-Jan-02 8:00 
GeneralRe: CImageList & Replace with bitmap mask Pin
Ernest Laurentin2-Jan-02 11:26
Ernest Laurentin2-Jan-02 11:26 
GeneralRe: CImageList & Replace with bitmap mask Pin
3-Jan-02 1:39
suss3-Jan-02 1:39 
GeneralRe: CImageList & Replace with bitmap mask Pin
Ernest Laurentin3-Jan-02 5:16
Ernest Laurentin3-Jan-02 5:16 
GeneralSkinStyle (no MFC) error: undefined reference to... Pin
Kuniva2-Jan-02 5:18
Kuniva2-Jan-02 5:18 
Generaldraw lines in a CRichEditCtrl Pin
jafrazee2-Jan-02 5:11
jafrazee2-Jan-02 5:11 
GeneralMoving and Resizing Tool Tip (CToolTipCtrl) Pin
GurGur2-Jan-02 4:30
GurGur2-Jan-02 4:30 
GeneralMultiple documents dialog box Pin
FredrikB2-Jan-02 4:09
FredrikB2-Jan-02 4:09 
GeneralVis Studio won't start add-ins Pin
2-Jan-02 3:45
suss2-Jan-02 3:45 
GeneralRe: Vis Studio won't start add-ins Pin
Lim Bio Liong2-Jan-02 17:05
Lim Bio Liong2-Jan-02 17:05 
GeneralEdit Control Pin
Ray Kinsella2-Jan-02 2:38
Ray Kinsella2-Jan-02 2:38 
GeneralRe: Edit Control Pin
Ernest Laurentin2-Jan-02 4:06
Ernest Laurentin2-Jan-02 4:06 
GeneralCReBar Pin
2-Jan-02 1:40
suss2-Jan-02 1:40 
GeneralRemoving ToolBar & Menu Pin
2-Jan-02 0:24
suss2-Jan-02 0:24 
GeneralRe: Removing ToolBar & Menu Pin
Brian V Shifrin2-Jan-02 0:41
Brian V Shifrin2-Jan-02 0:41 
GeneralRe: Removing ToolBar & Menu Pin
2-Jan-02 1:06
suss2-Jan-02 1:06 
GeneralRe: Removing ToolBar & Menu Pin
Philip Patrick2-Jan-02 0:48
professionalPhilip Patrick2-Jan-02 0:48 
The toolbar you can remove when you are creating your SDI application, you'll find an option, to create or not to create the tool bar there.

To remove menu, you have to override CFrameWnd::LoadFrame() of your Frame window and place a code inside it, like this:

BOOL CMainFrame::LoadFrame(UINT nIDResource, DWORD dwDefaultStyle, CWnd* pParentWnd, CCreateContext* pContext)
{
  BOOL bRetVal = CFrameWnd::LoadFrame(nIDResource, dwDefaultStyle, pParentWnd, pContext);
  if(bRetVal){
    GetMenu()->DestroyMenu();
    SetMenu(NULL);
  }
  return bRetVal;
}




Philip Patrick
"Two beer or not two beer?" <shakesbeer>
Web-site: www.saintopatrick.com
GeneralProblem with CListCtrl Pin
Paresh Solanki2-Jan-02 0:01
Paresh Solanki2-Jan-02 0:01 
GeneralRe: Problem with CListCtrl Pin
Philip Patrick2-Jan-02 0:31
professionalPhilip Patrick2-Jan-02 0:31 
GeneralRe: Problem with CListCtrl Pin
Paresh Solanki2-Jan-02 1:51
Paresh Solanki2-Jan-02 1:51 
GeneralRe: Problem with CListCtrl Pin
Philip Patrick2-Jan-02 1:58
professionalPhilip Patrick2-Jan-02 1:58 
GeneralWindow activation in XP Pin
56789012341-Jan-02 23:01
56789012341-Jan-02 23:01 
GeneralRe: Window activation in XP Pin
2-Jan-02 5:47
suss2-Jan-02 5:47 
GeneralRe: Window activation in XP Pin
Ravi Bhavnani2-Jan-02 6:28
professionalRavi Bhavnani2-Jan-02 6:28 
GeneralPreventing unauthorised access to an ISAPI extension Pin
divbanjoe1-Jan-02 23:01
divbanjoe1-Jan-02 23:01 

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.