| View previous topic :: View next topic |
| Author |
Message |
Szakal Guest
|
Posted: Sat Jun 25, 2005 12:13 pm Post subject: new Form with tasktab on taskbar |
|
|
Hello
I have problem. I need for each new form create new tasktab on taskbar like
in ICQ client where new message form has tasktab with username.
It seams to create new Form without parent but how to do this ?
How if i create new secound Form I have only one tasktab and if I minimalize
the horm, it minimalizing to small rectangle over taskbar :(
Thanks for help
|
|
| Back to top |
|
 |
JD Guest
|
Posted: Sat Jun 25, 2005 12:28 pm Post subject: Re: new Form with tasktab on taskbar |
|
|
"Szakal" <szakal (AT) pl (DOT) pl> wrote:
This group is for questions about Borland's implemetation of
the C++ language and your question is about using the VCL.
Please direct your browser to:
http://info.borland.com/newsgroups/
and read the guide lines.
| Quote: | [...] I need for each new form create new tasktab on taskbar
|
All you have to do is apply the WS_EX_APPWINDOW flag to the
Form's ExStyle and assign the desktop as the parent. This is
accomplished by overriding the form's CreateParams method:
//--- in the header -------------------------------------------
protected:
virtual void __fastcall CreateParams( TCreateParams &Params );
//--- in the unit ---------------------------------------------
void __fastcall TForm1::CreateParams(TCreateParams &Params)
{
TForm::CreateParams( Params );
Params.ExStyle |= WS_EX_APPWINDOW;
Params.WndParent = GetDesktopWindow();
}
~ JD
|
|
| Back to top |
|
 |
Rudy Velthuis [TeamB] Guest
|
Posted: Sat Jun 25, 2005 5:47 pm Post subject: Re: new Form with tasktab on taskbar |
|
|
At 14:28:30, 25.06.2005, JD wrote:
| Quote: |
"Szakal" <szakal (AT) pl (DOT) pl> wrote:
This group is for questions about Borland's implemetation of
the C++ language and your question is about using the VCL.
Please direct your browser to:
http://info.borland.com/newsgroups/
|
I don't know for sure, but the old layout suggests that this may finally
be replaced by:
http://support.borland.com/entry.jspa?entryID=292
--
Rudy Velthuis [TeamB] http://velthuis.homepage.t-online.de
"Plato was a bore."
- Friedrich Nietzsche (1844-1900)
|
|
| Back to top |
|
 |
JD Guest
|
Posted: Sun Jun 26, 2005 5:57 am Post subject: Re: new Form with tasktab on taskbar |
|
|
"Rudy Velthuis [TeamB]" <velthuis (AT) gmail (DOT) com> wrote:
I think you're right. The page looks much nicer but the links
aren't highlighted. :-/
~ JD
|
|
| Back to top |
|
 |
Rudy Velthuis [TeamB] Guest
|
Posted: Sun Jun 26, 2005 10:46 am Post subject: Re: new Form with tasktab on taskbar |
|
|
At 07:57:05, 26.06.2005, JD wrote:
| Quote: |
"Rudy Velthuis [TeamB]" <velthuis (AT) gmail (DOT) com> wrote:
I don't know for sure, but the old layout suggests that this may
finally be replaced by:
http://support.borland.com/entry.jspa?entryID=292
I think you're right. The page looks much nicer but the links
aren't highlighted. :-/
|
What do you mean? They have a different colour (blue, not black) and are
underlined.
--
Rudy Velthuis [TeamB] http://velthuis.homepage.t-online.de
"What do you take me for, an idiot?"
-- General Charles de Gaulle (1890-1970), when a journalist asked him if
he was happy
|
|
| Back to top |
|
 |
JD Guest
|
Posted: Sun Jun 26, 2005 1:01 pm Post subject: Re: new Form with tasktab on taskbar |
|
|
"Rudy Velthuis [TeamB]" <velthuis (AT) gmail (DOT) com> wrote:
| Quote: |
What do you mean? They have a different colour (blue, not black) and are
underlined.
|
Not for me. My first thought was a browser setting (I do have
underline off) but then I realized that the old page does
display in blue but the new page has the links in black(???).
~ JD
|
|
| Back to top |
|
 |
Rudy Velthuis [TeamB] Guest
|
Posted: Sun Jun 26, 2005 1:23 pm Post subject: Re: new Form with tasktab on taskbar |
|
|
At 15:01:47, 26.06.2005, JD wrote:
| Quote: |
"Rudy Velthuis [TeamB]" <velthuis (AT) gmail (DOT) com> wrote:
What do you mean? They have a different colour (blue, not black) and
are underlined.
Not for me. My first thought was a browser setting (I do have
underline off) but then I realized that the old page does
display in blue but the new page has the links in black(???).
|
Perhaps the blue looks almost like black on your display. The links are
in colour rgb(119, 34, 34) according to the CSS, and that is what I see,
in Firefox.
--
Rudy Velthuis [TeamB] http://velthuis.homepage.t-online.de
"C++: an octopus made by nailing extra legs onto a dog" -- unknown
|
|
| Back to top |
|
 |
|