By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,111 Members | 1,665 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,111 IT Pros & Developers. It's quick & easy.

Can someone confirm this behaviour please :o)

P: n/a
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.

Jan 26 '07 #1
Share this Question
Share on Google+
6 Replies


P: n/a
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.

Jan 26 '07 #2

P: n/a
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:
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 -
Jan 26 '07 #3

P: n/a
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:
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:
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 -

Jan 26 '07 #4

P: n/a
Perhaps then you can set Application.EnableVisualStyles to resolve this
issue?
"P. Di Stolfo" <PD*******@discussions.microsoft.comwrote in message
news:40**********************************@microsof t.com...
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:
>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:
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 -


Jan 26 '07 #5

P: n/a
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:
Perhaps then you can set Application.EnableVisualStyles to resolve this
issue?

"P. Di Stolfo" <PDiSto...@discussions.microsoft.comwrote in messagenews:40**********************************@m icrosoft.com...
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:
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:
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 -- Hide quoted text -- Show quoted text -
Jan 26 '07 #6

P: n/a
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:
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:
Perhaps then you can set Application.EnableVisualStyles to resolve this
issue?
"P. Di Stolfo" <PDiSto...@discussions.microsoft.comwrote in messagenews:40**********************************@m icrosoft.com...
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:
>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:
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 -- Hide quoted text -- Show quoted text -- Hide quoted text -- Show quoted text -
Jan 26 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.