Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Menu item question....

Posted on 2004-04-01
5
Medium Priority
?
335 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 400 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Progress means simplifying, not complicating. Bruno Munari Preface How to detect the name of the internal storage or an SD-card on Windows Mobile device from the desktop application? I got this question, when I was working on a PC applicati…
Preface: This article is part of a series focused on cross platform mobile app development (specifically Android and iOS) using the Alloy framework and Titanium Studio made by Appcelerator (https://www.appcelerator.com/). This article presumes a wor…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

610 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