I am writing a dialog based application. Why doesn’t an entry appear in the taskbar or in the task list?
The taskbar only contains buttons for visible, top-level windows that have the WS_OVERLAPPED style. By default, dialog boxes have the WS_POPUP style and thus do not get taskbar buttons. The workaround is to change your dialog box style in the resource editor from WS_POPUP to WS_OVERLAPPED. There was an interesting report from someone using PB 2.12. They did not want a taskbar button, and did not use WS_OVERLAPPED, but the taskbar button still appeared! Perhaps the default dialog/taskbar behavior has been changed in 2.12.
Related Questions
- My phone supports Push Stock application based on StarHub’s list of supported handsets, can I download the application for free?
- I am writing a dialog based application. Why doesn’t an entry appear in the taskbar or in the task list?
- Why doesn’t my major appear on the "Major Option" list under a GE requirement that seems obvious for it?