Board index » delphi » How to force a form to display its own button in the windows taskbar
Bastian Bauwens
![]() Delphi Developer |
Sat, 13 Dec 2003 23:20:13 GMT
|
Bastian Bauwens
![]() Delphi Developer |
Sat, 13 Dec 2003 23:20:13 GMT
How to force a form to display its own button in the windows taskbar
Hello all,
I want to build an application with a user interface similar to MS Outlook - I managed it to have the form display a button in the taskbar by overriding When I want to show a modal dialog from a detail form, the main form is Thanks in advance Bastian Bauwens |
Ernest Fairchil
![]() Delphi Developer |
Sun, 14 Dec 2003 01:42:16 GMT
Re:How to force a form to display its own button in the windows taskbarQuote"Bastian Bauwens" <bbauw...@aixware.de> wrote in message Quote> Hello all, To add a taskbar button for a specific application window, you need to type implementation procedure TMyForm.CreateParams(var Params: TCreateParams); This will add the taskbar button for your form, but there are a few other procedure WMSysCommand(var Msg: TMessage); WM_SYSCOMMAND; procedure TParentForm.WMSysCommand(var Msg: TMessage); Note that this handler goes in the PARENT form of the one you want to behave Have a great day! Ernest Visit my website at http://www.public.asu.edu/~ernestf |
Team
![]() Delphi Developer |
Sun, 14 Dec 2003 05:12:41 GMT
Re:How to force a form to display its own button in the windows taskbarQuoteIn article <3b38a99e_1@dnews>, Bastian Bauwens wrote: ParentWnd and instead add the WS_EX_APPWINDOW exstyle: procedure TForm2.CreateParams(Var params: TCreateParams); Peter Below (TeamB) 100113.1...@compuserve.com) |
Bastian Bauwen
![]() Delphi Developer |
Wed, 17 Dec 2003 01:34:43 GMT
Re:How to force a form to display its own button in the windows taskbarHi Ernest, thanks for the tip, it works, but I have some problems in understanding what TIA Bastian "Ernest Fairchild" <efairch...@home.com> schrieb im Newsbeitrag Quote> "Bastian Bauwens" <bbauw...@aixware.de> wrote in message |
1. fsStayOnTop forms conflict with Taskbar button forms
2. Forcing a window to display on the secondary Monitor
3. Adding buttons to Windows taskbar?
4. Adding document-specific buttons to the Windows taskbar.
5. Removing window button from taskbar
6. Taskbar buttons for child windows
7. undock a panel and display it in it's own window
8. Stray taskbar buttons on older Windows versions