Show Modal Forms in Taskbar
|ShowModalFormsInTaskBar.zip||9/13/2019 7:58:31 AM||1,221|
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.
This code originally appeared on AndreaVB.com, and has been republished here with the permission of Andrea Tincani.
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.