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
File | Uploaded | Size |
---|---|---|
1021-20190913-075831-ShowModalFormsInTaskBar.zip | 9/13/2019 7:58:31 AM | 1221 |