Can someone confirm this behaviour please :o) | | |
Hi,
I have been trying to find an answer, even a hint, but despite posting
the following question on various forums i haven't even had a single
reply for nearly two weeks :o(.
"Why do treeview tooltips flash if the main form has its
transparencykey set?"
Could a couple of people please try this (its a 67 second job) just so
i know it isn't just my PC :o)
You can replicate this behaviour really easily by (vb VS2003)
1) creating a new vb windows application
2) set Form1.TransparencyKey to the same as Form1.BackColor
3) Add a treeview to the form
4) Add a node to TreeView1 whose text is too long to display (i used
'whyisthishappeningwhyisthishappeningwhyisthishapp eningwhywhywhy')
5) run the application and hover your mouse over the node.
Many thanks,
James.
Also posted in c# as it also happens with a c# application ....
arrrgggghhhhhhhhh. | | | | re: Can someone confirm this behaviour please :o)
Hello,
I use VB 2005, so I switched off the application framework.
I can confirm that the tooltips flash when hovering over it.
This, however, does not happen if I switch the framework on.
Regards,
P. Di Stolfo
"pigeonrandle" wrote: Quote:
Hi,
>
I have been trying to find an answer, even a hint, but despite posting
the following question on various forums i haven't even had a single
reply for nearly two weeks :o(.
>
>
"Why do treeview tooltips flash if the main form has its
transparencykey set?"
>
>
Could a couple of people please try this (its a 67 second job) just so
i know it isn't just my PC :o)
>
>
You can replicate this behaviour really easily by (vb VS2003)
>
>
1) creating a new vb windows application
2) set Form1.TransparencyKey to the same as Form1.BackColor
3) Add a treeview to the form
4) Add a node to TreeView1 whose text is too long to display (i used
'whyisthishappeningwhyisthishappeningwhyisthishapp eningwhywhywhy')
5) run the application and hover your mouse over the node.
>
>
Many thanks,
>
>
James.
>
>
Also posted in c# as it also happens with a c# application ....
arrrgggghhhhhhhhh.
>
>
| | | | re: Can someone confirm this behaviour please :o)
P,
Thanks for replying. I was beginning to think i had offended the entire
internet community!
When you say you switched the framework off/on, what do you mean?
Thanks again,
James
On 26 Jan, 11:21, P. Di Stolfo <PDiSto...@discussions.microsoft.com>
wrote: Quote:
Hello,
>
I use VB 2005, so I switched off the application framework.
>
I can confirm that the tooltips flash when hovering over it.
>
This, however, does not happen if I switch the framework on.
>
Regards,
P. Di Stolfo
>
>
>
"pigeonrandle" wrote: > Quote:
I have been trying to find an answer, even a hint, but despite posting
the following question on various forums i haven't even had a single
reply for nearly two weeks :o(.
> Quote:
"Why do treeview tooltips flash if the main form has its
transparencykey set?"
> Quote:
Could a couple of people please try this (its a 67 second job) just so
i know it isn't just my PC :o)
> Quote:
You can replicate this behaviour really easily by (vb VS2003)
> Quote:
1) creating a new vb windows application
2) set Form1.TransparencyKey to the same as Form1.BackColor
3) Add a treeview to the form
4) Add a node to TreeView1 whose text is too long to display (i used
'whyisthishappeningwhyisthishappeningwhyisthishapp eningwhywhywhy')
5) run the application and hover your mouse over the node.
> > > Quote:
Also posted in c# as it also happens with a c# application ....
arrrgggghhhhhhhhh.- Hide quoted text -- Show quoted text -
| | | | re: Can someone confirm this behaviour please :o)
Hello,
using VB 2005 (I don't know if this works with previous versions, too), you
can choose to activate or not activate the application framework in Projects
-Properties, so you can activate XP styles and so on. When I deactivate
them, I'll get the same error as you get with that control.
Regards,
P. Di Stolfo
"pigeonrandle" wrote: Quote:
P,
Thanks for replying. I was beginning to think i had offended the entire
internet community!
>
When you say you switched the framework off/on, what do you mean?
>
Thanks again,
James
>
On 26 Jan, 11:21, P. Di Stolfo <PDiSto...@discussions.microsoft.com>
wrote: Quote:
Hello,
I use VB 2005, so I switched off the application framework.
I can confirm that the tooltips flash when hovering over it.
This, however, does not happen if I switch the framework on.
Regards,
P. Di Stolfo
"pigeonrandle" wrote: Quote:
I have been trying to find an answer, even a hint, but despite posting
the following question on various forums i haven't even had a single
reply for nearly two weeks :o(.
Quote:
"Why do treeview tooltips flash if the main form has its
transparencykey set?"
Quote:
Could a couple of people please try this (its a 67 second job) just so
i know it isn't just my PC :o)
Quote:
You can replicate this behaviour really easily by (vb VS2003)
Quote:
1) creating a new vb windows application
2) set Form1.TransparencyKey to the same as Form1.BackColor
3) Add a treeview to the form
4) Add a node to TreeView1 whose text is too long to display (i used
'whyisthishappeningwhyisthishappeningwhyisthishapp eningwhywhywhy')
5) run the application and hover your mouse over the node.
Quote:
Also posted in c# as it also happens with a c# application ....
arrrgggghhhhhhhhh.- Hide quoted text -- Show quoted text -
>
>
| | | | re: Can someone confirm this behaviour please :o)
Perhaps then you can set Application.EnableVisualStyles to resolve this
issue?
"P. Di Stolfo" <PDiStolfo@discussions.microsoft.comwrote in message
news:40B8FD92-9D64-44E4-A2B6-5BE0EC70886E@microsoft.com... Quote:
Hello,
>
using VB 2005 (I don't know if this works with previous versions, too),
you
can choose to activate or not activate the application framework in
Projects
-Properties, so you can activate XP styles and so on. When I deactivate
them, I'll get the same error as you get with that control.
>
Regards,
P. Di Stolfo
>
"pigeonrandle" wrote:
> Quote:
>P,
>Thanks for replying. I was beginning to think i had offended the entire
>internet community!
>>
>When you say you switched the framework off/on, what do you mean?
>>
>Thanks again,
>James
>>
>On 26 Jan, 11:21, P. Di Stolfo <PDiSto...@discussions.microsoft.com>
>wrote: Quote:
Hello,
>
I use VB 2005, so I switched off the application framework.
>
I can confirm that the tooltips flash when hovering over it.
>
This, however, does not happen if I switch the framework on.
>
Regards,
P. Di Stolfo
>
>
>
"pigeonrandle" wrote:
Hi,
>
I have been trying to find an answer, even a hint, but despite
posting
the following question on various forums i haven't even had a single
reply for nearly two weeks :o(.
>
"Why do treeview tooltips flash if the main form has its
transparencykey set?"
>
Could a couple of people please try this (its a 67 second job) just
so
i know it isn't just my PC :o)
>
You can replicate this behaviour really easily by (vb VS2003)
>
1) creating a new vb windows application
2) set Form1.TransparencyKey to the same as Form1.BackColor
3) Add a treeview to the form
4) Add a node to TreeView1 whose text is too long to display (i used
'whyisthishappeningwhyisthishappeningwhyisthishapp eningwhywhywhy')
5) run the application and hover your mouse over the node.
>
Many thanks,
>
James.
>
Also posted in c# as it also happens with a c# application ....
arrrgggghhhhhhhhh.- Hide quoted text -- Show quoted text -
>>
>>
| | | | re: Can someone confirm this behaviour please :o)
P, Amdrit,
Thankyou both for your words of wisdom, and for taking the time to help
me out.
Amdrit was right!
i changed my Main() to
[STAThread]
static void Main()
{
System.Windows.Forms.Application.EnableVisualStyle s();
Application.Run(new frmMain());
}
and no more disco effect! Yay.
Many many many thanks to you both,
James Randle.
On 26 Jan, 16:00, "AMDRIT" <amd...@hotmail.comwrote: Quote:
Perhaps then you can set Application.EnableVisualStyles to resolve this
issue?
>
"P. Di Stolfo" <PDiSto...@discussions.microsoft.comwrote in messagenews:40B8FD92-9D64-44E4-A2B6-5BE0EC70886E@microsoft.com...
>
>
> > Quote:
using VB 2005 (I don't know if this works with previous versions, too),
you
can choose to activate or not activate the application framework in
Projects
-Properties, so you can activate XP styles and so on. When I deactivate
them, I'll get the same error as you get with that control.
> Quote:
Regards,
P. Di Stolfo
> Quote:
"pigeonrandle" wrote:
> Quote: Quote:
P,
Thanks for replying. I was beginning to think i had offended the entire
internet community!
> Quote: Quote:
When you say you switched the framework off/on, what do you mean?
> Quote: Quote:
Thanks again,
James
> Quote: Quote:
On 26 Jan, 11:21, P. Di Stolfo <PDiSto...@discussions.microsoft.com>
wrote:
Hello,
> Quote: Quote:
I use VB 2005, so I switched off the application framework.
> Quote: Quote:
I can confirm that the tooltips flash when hovering over it.
> Quote: Quote:
This, however, does not happen if I switch the framework on.
> Quote: Quote:
Regards,
P. Di Stolfo
> Quote: Quote:
"pigeonrandle" wrote:
Hi,
> Quote: Quote:
I have been trying to find an answer, even a hint, but despite
posting
the following question on various forums i haven't even had a single
reply for nearly two weeks :o(.
> Quote: Quote:
"Why do treeview tooltips flash if the main form has its
transparencykey set?"
> Quote: Quote:
Could a couple of people please try this (its a 67 second job) just
so
i know it isn't just my PC :o)
> Quote: Quote:
You can replicate this behaviour really easily by (vb VS2003)
> Quote: Quote:
1) creating a new vb windows application
2) set Form1.TransparencyKey to the same as Form1.BackColor
3) Add a treeview to the form
4) Add a node to TreeView1 whose text is too long to display (i used
'whyisthishappeningwhyisthishappeningwhyisthishapp eningwhywhywhy')
5) run the application and hover your mouse over the node.
> > > Quote: Quote:
Also posted in c# as it also happens with a c# application ....
arrrgggghhhhhhhhh.- Hide quoted text -- Show quoted text -- Hide quoted text -- Show quoted text -
| | | | re: Can someone confirm this behaviour please :o)
When i said 'Amdrit was right!' i of course meant you were both right
:0).
Thanks again.
On 26 Jan, 16:19, "pigeonrandle" <pigeonran...@hotmail.comwrote: Quote:
P, Amdrit,
Thankyou both for your words of wisdom, and for taking the time to help
me out.
>
Amdrit was right!
>
i changed my Main() to
>
[STAThread]
static void Main()
{
System.Windows.Forms.Application.EnableVisualStyle s();
Application.Run(new frmMain());
}
>
and no more disco effect! Yay.
>
Many many many thanks to you both,
James Randle.
>
On 26 Jan, 16:00, "AMDRIT" <amd...@hotmail.comwrote:
>
>
> Quote:
Perhaps then you can set Application.EnableVisualStyles to resolve this
issue?
> Quote:
"P. Di Stolfo" <PDiSto...@discussions.microsoft.comwrote in messagenews:40B8FD92-9D64-44E4-A2B6-5BE0EC70886E@microsoft.com...
> > Quote: Quote:
using VB 2005 (I don't know if this works with previous versions, too),
you
can choose to activate or not activate the application framework in
Projects
-Properties, so you can activate XP styles and so on. When I deactivate
them, I'll get the same error as you get with that control.
> Quote: Quote:
Regards,
P. Di Stolfo
> Quote: Quote:
"pigeonrandle" wrote:
> Quote: Quote:
>P,
>Thanks for replying. I was beginning to think i had offended the entire
>internet community!
> Quote: Quote:
>When you say you switched the framework off/on, what do you mean?
> Quote: Quote:
>Thanks again,
>James
> Quote: Quote:
>On 26 Jan, 11:21, P. Di Stolfo <PDiSto...@discussions.microsoft.com>
>wrote:
Hello,
> Quote: Quote:
I use VB 2005, so I switched off the application framework.
> Quote: Quote:
I can confirm that the tooltips flash when hovering over it.
> Quote: Quote:
This, however, does not happen if I switch the framework on.
> Quote: Quote:
Regards,
P. Di Stolfo
> Quote: Quote:
"pigeonrandle" wrote:
Hi,
> Quote: Quote:
I have been trying to find an answer, even a hint, but despite
posting
the following question on various forums i haven't even had a single
reply for nearly two weeks :o(.
> Quote: Quote:
"Why do treeview tooltips flash if the main form has its
transparencykey set?"
> Quote: Quote:
Could a couple of people please try this (its a 67 second job) just
so
i know it isn't just my PC :o)
> Quote: Quote:
You can replicate this behaviour really easily by (vb VS2003)
> Quote: Quote:
1) creating a new vb windows application
2) set Form1.TransparencyKey to the same as Form1.BackColor
3) Add a treeview to the form
4) Add a node to TreeView1 whose text is too long to display (i used
'whyisthishappeningwhyisthishappeningwhyisthishapp eningwhywhywhy')
5) run the application and hover your mouse over the node.
> > > Quote: Quote:
Also posted in c# as it also happens with a c# application ....
arrrgggghhhhhhhhh.- Hide quoted text -- Show quoted text -- Hide quoted text -- Show quoted text -- Hide quoted text -- Show quoted text -
|  | Similar Visual Basic .NET bytes | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,471 network members.
|