473,385 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to add an about form?

I wand to add an about form to my main form and it should be accessed the old
style via the popup menu when clicking on the main form caption bar.
It’s easy to create the about Form, but I do not know how to add a link to
it on the main Form caption popup menu.

How do I do that?

--
Regards
Sharon G.
Nov 16 '05 #1
4 1337
Hi,

I have never see that style, clicking in the caption bar brings you the
default win menu, nothing more. I think that the only way of doing this is
creating your our type , override WndProc and respond to the event as you
want.

I dont know the exact event that you look for tough.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Sharon" <Sh****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
I wand to add an about form to my main form and it should be accessed the
old
style via the popup menu when clicking on the main form caption bar.
It's easy to create the about Form, but I do not know how to add a link to
it on the main Form caption popup menu.

How do I do that?

--
Regards
Sharon G.

Nov 16 '05 #2
SB
http://www.developerfusion.com/show/4655/

-sb

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:eB****************@TK2MSFTNGP09.phx.gbl...
Hi,

I have never see that style, clicking in the caption bar brings you the
default win menu, nothing more. I think that the only way of doing this is
creating your our type , override WndProc and respond to the event as you
want.

I dont know the exact event that you look for tough.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Sharon" <Sh****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
I wand to add an about form to my main form and it should be accessed the
old
style via the popup menu when clicking on the main form caption bar.
It's easy to create the about Form, but I do not know how to add a link
to
it on the main Form caption popup menu.

How do I do that?

--
Regards
Sharon G.


Nov 16 '05 #3
It’s working nicely.
But I thought that it will much more straight forward.
How come the .NET does not have a solution for? Why should we do DllImport
for Windows native API calls?

Nevertheless, it’s working.
Thanks

--
Regards
Sharon G.
Nov 16 '05 #4
SB
See my notes inline:

"Sharon" <Sh****@discussions.microsoft.com> wrote in message
news:A9**********************************@microsof t.com...
It's working nicely.
But I thought that it will much more straight forward.
How come the .NET does not have a solution for?
It does have a solution, DllImport ;) Seriously, since most applications
don't modify a form's system menu, it was probably left out because it was a
low priority item (at least for versions 1.0/1.1). As the framework
matures, I'd expect to see less use of DllImport. However, there is no way
that MS can afford the time to convert every single API call to a .NET
equivalent...hence the reason why we have DllImport.
Why should we do DllImport for Windows native API calls?


This is merely because C# is not C...and C# needs a way to talk to C code in
a safe and controlled manner.

-sb
Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Pete | last post by:
Before I get started with the question, does anyone have a (single) good book recommendation for database design? Not an Access-specific book, but something geared toward helping me figure out...
20
by: Olav.NET | last post by:
I am a .NET/C++ developer who is supposed to do some work with Access. I do not know much about it except for the DB part. Questions: *1* I am looking for INTENSIVE books to get quickly up to...
15
by: Thelma Lubkin | last post by:
formA determines some_where and some_value and issues docmd.close ,Me docmd.openform "formB", , ,some_where, , ,some_value formB receives the correct some_where and some_value After...
2
by: Howard Weiss | last post by:
I am writing a Managed C++ application. In my application, I create a modeless sub-form using New. I retain a pointer to this sub-form in my application. If the user closes this form, my...
10
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a...
3
by: Irfan Mumtaz | last post by:
yesterday i was been suggested by the group to use msgForm = New Form3() Application.Run(msgForm) It works fine and the form is displayed. however, the application does not go further unless i...
7
by: AMP | last post by:
Hello, I have this in form1: namespace Pass { public partial class Form1 : Form { public Form2 form2; public Form1() {
4
by: Delphiscn | last post by:
How to show a ABOUT Form???????? Hello Everyone: I use C# want to Create a Project. In my project. there are two forms. One is main form, and another is a about form. In the about form there...
22
by: Neil Gould | last post by:
Or... when is a script not a script? I have several modules for managing different aspects of our club's website, most of which are multi-page. Does setting such things as server.ScriptTimeout...
10
by: Descartes | last post by:
Dear All, Coming from another development environment, it appears that I bang my head in the wall on very basic matters, so I hope you can give me a push in the right direction. The...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.