Solved

HIDE TASKBAR BUTTON

Posted on 2002-06-15
1
1,452 Views
Last Modified: 2007-12-19
HIDE TASKBAR BUTTON

Once when I put some form of application in taskbar as button with :

For example :

setWindowLong(Form3.handle,GWL_EXSTYLE,getWindowLong(Form3.handle,GWL_EXSTYLE) or WS_EX_APPWINDOW);

how to hide it ? (Remove that button from taskbar ?)

Thanks.
0
Comment
Question by:ghjlk
[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
1 Comment
 
LVL 7

Accepted Solution

by:
Cynna earned 200 total points
ID: 7080735
ghjlk,

This will remove Form3 taskbar button:


  // Affects only hidden windows:
  Form3.Hide;
  // Toggle WS_EX_APPWINDOW bit off:
  setWindowLong(Form3.handle,
               GWL_EXSTYLE,
               getWindowLong(Form3.handle,GWL_EXSTYLE) and (not WS_EX_APPWINDOW));
  Form3.Show;

Unfortunately, flickering is unavoidable - switching WS_EX_APPWINDOW bit off affects
only hidden windows.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

730 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