473,378 Members | 1,475 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,378 software developers and data experts.

How to display the system menu on the taskbar without a titlebar or system menu button

I have a C# .NET program which does without a normal titlebar for its main
window. Trouble is, I still want the user to be able to access select
commands while the program is minimized. (I provided replacements for the
Minimize and Close buttons.) I understand how to modify the system menu.
In fact, I used to have a version of this program which did use a titlebar
and modified the menu with Win32 calls.

The current problem is that I no longer have a system menu at all. Is there
a way to handle the user's right click on my taskbar button for myself?
That would solve the problem. (I also created my own system menu for the
new window, but it is currently only shown when the user clicks on the icon
at the top left of the window.) I tried handling the WM_SYSCOMMAND message
as it has a "command" that is supposedly sent when the user uses the mouse
to access the system menu. However, that message is not sent when I
right-click on the task bar.

I am stumped how to solve this problem and would appreciate any suggestions.

----------
Will Pittenger
E-Mail: mailto:wi************@verizon.net
All mail filtered by Qurb (www.qurb.com)
Nov 16 '05 #1
0 1538

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

Similar topics

19
by: Lad | last post by:
I used Py2exe to compile my script( I use XP). The compiled script works OK on my XP where Python is installed. But when I install the compiled exe to another computer, os.system causes the...
10
by: Oliver | last post by:
Hello, i'm having trouble with a css type popup. It's not doing what i want in Mozilla 1.6 and in IE6.0 it's not working at all. The html code looks like this: <div class="themenkueche"...
2
by: Will Pittenger | last post by:
I have a C# .NET program which does without a normal titlebar for its main window. Trouble is, I still want the user to be able to access select commands while the program is minimized. (I...
12
by: mdb | last post by:
My app has a notify icon in the systray. I want the left mouse click to initiate a menu, and a right-mouse click to do something else. Normally, for a button, I would listen to MouseDown and if I...
2
by: Nikki | last post by:
Hi, I m working on a windows application using c#.NET. Using borderless non-rectangular forms. Can anybody tell me how to minimize / restore that application from taskbar. (I m already using...
2
by: flaper87 | last post by:
Hi everybody!!!! I am developing an aplication, and i want it to stay on the system tray, i found out how to put the icon, but i can minimize it there, What do i have to do?, I'm using python(of...
7
by: bz | last post by:
Hi, I need an app to run in kiosk mode, so user will not have access to start menu and taskbar while the app is running I was able to hide / show the taskbar with trhe following code when...
0
by: aaronyoung | last post by:
Is there a way, in Access, to create a custom menu bar that can be used as the default menu bar that will, in essence, function like the Window's Taskbar? I would like the menu bar to show all...
9
by: tshad | last post by:
I have a Windows App that is doing some work and then writing a "Now Processing..." line to the status line of the window as well as the Textbox on the form. But the problem is that the work is...
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.