Solved

Menu item question....

Posted on 2004-04-01
5
327 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
ID: 10734414
Create a brand-new application and compare the difference between them.
0
 

Author Comment

by:rabmissouri
ID: 10738177
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
ID: 10738382
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
ID: 10738444
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
ID: 10738552
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When I was a beginner in Windows Mobile programming, even for small test I used to create a single MFC dialog-based application with one button, and put my test code in the OnLButtonDown method. For Pocket PC it worked fine, on some Windows CE d…
If you are anything like me, you install many apps on your phone and have your life on it, sometimes literally.  When I bought my current phone, a Samsung Galaxy S5 from Verizon, they were only selling the versions with 16 GB internal.  I didn't rea…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 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

15 Experts available now in Live!

Get 1:1 Help Now