Solved

Menu item question....

Posted on 2004-04-01
5
325 Views
Last Modified: 2013-12-27
I created a SDI eVC++4 project where the  View class is devrived from CScrollview.  On my menu the first item I have is "new" instead of "file".  When I go to edit my menu, I don't see "new" as something I can work with (ie I see "edit" and "tools").  How do I get rid of "new"  and bring back my "file" menu item?  What is the purpose of  the "new" item menu?

Thanks,

RABMissouri
0
Comment
Question by:rabmissouri
  • 3
  • 2
5 Comments
 
LVL 23

Expert Comment

by:chensu
Comment Utility
Create a brand-new application and compare the difference between them.
0
 

Author Comment

by:rabmissouri
Comment Utility
Chensu...my buddy...the "Micheal Jordon" of programming!   I have already done that and I see what you mean.  So what happened to "file"  and what is the purpose of the menu item "new"?  The basic crux of my interest in this problem lies in the fact that I can't close the program.  If I click the "upper right X" it minimizes the program.  How do I close the program without the  "File" menu item?

Thanks,
RABMissouri
0
 
LVL 23

Expert Comment

by:chensu
Comment Utility
You are using the MFC document/view architecture. The purpose of the menu item "New" is to create a new document. Are you using a Pocket PC? If not, the X button should send a WM_CLOSE message to your main frame window.
0
 

Author Comment

by:rabmissouri
Comment Utility
I am using a Pocket PC.  That is my problem.  The X button minimizes the program and without the the "file" menu I have no way to exit the program...only to minumize it.  Can I convert the X button to closing the program?

Thanks,
RABMissouri
0
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
Comment Utility
Smart Minimize button on Pocket PC 2002
http://www.pocketpcdn.com/articles/smartminimize.html

QA: How can I close my application by clicking the smart minimize (X) button?
http://www.pocketpcdn.com/articles/close_app.html
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now