Search Tools Links Login

Show Modal Forms in Taskbar


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.

About this post

Posted: 2019-09-13
By: ilanio
Viewed: 236 times

Categories

Visual Basic 6

Attachments

ShowModalFormsInTaskBar.zip
Posted: 9/13/2019 7:58:31 AM
Size: 1,221 bytes

Special Instructions

This code originally appeared on AndreaVB.com, and has been republished here with the permission of Andrea Tincani.


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.