?
Solved

HIDE TASKBAR BUTTON

Posted on 2002-06-15
1
Medium Priority
?
1,458 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 800 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

752 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