Show Modal Forms in Taskbar

By | 2019-09-13

This is a simple way to force MODAL FORMS show in TaskBar. By default, modal forms aren’t show in taskbar.

This method uses ShowWindow API to hide the form and show it again after change WS_EX_APPWINDOW attribute of form (a clever way to do this is define the caption of form).

Note if you use Visible property of VB, the code after form call continues executing when it set to false. So we use ShowWindow to avoid this problem.

Attachments

FileUploadedSize
1021-20190913-075831-ShowModalFormsInTaskBar.zip9/13/2019 7:58:31 AM1221
Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.