?
Solved

Hiding or not window button in task bar !

Posted on 2000-02-22
2
Medium Priority
?
217 Views
Last Modified: 2013-11-20
I have a dialog application which insert also an icon in the taskbar Icons.

What I want to do, is when I minimize my application, that the button in the taskbar is removed.
When I want to show the application, that this button is already inserted in the taskbar.

How can I do this ?
0
Comment
Question by:mike_marquet
[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
2 Comments
 
LVL 5

Accepted Solution

by:
Wyn earned 200 total points
ID: 2545896
First). Call ShowWindow( hwnd, SW_HIDE ) whenever your window callback proc. recieves WM_SIZE with wParam == SIZE_MINIMIZE.

Second). Call ShowWindow( hwnd, SW_RESTORE ) whenever your window callback proc. recieves taskbar notification with left mouse click at our icon.
//Here suppose you show the window by click the tray icon.But it's dependent.

Above do exactly what you want.
Regards
Wyn
0
 

Author Comment

by:mike_marquet
ID: 2546438
It's so easy that I have not thought about it.
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

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