473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

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.

Jan 26 '07 #1
6 961
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,
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
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
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, 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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Squirrel | last post by:
I have an Access 2002 db and via Tools->Options->EditFind have checked the checkboxes for Confirm Document Deletions and Confirm Action Queries but get no confirmation prompt when I e.g. delete a...
18
by: joshc | last post by:
I've got two bits of code that I would like some more experienced folks to check for conformance to the Standard. I've tried my best to read the standard and search around and I think and hope this...
1
by: freshRecruit | last post by:
Hi, I am having a problem, and is driving me nuts and my deadline is fast approaching. Please do help me.. This is a webapplication with a usercontrol which has some buttons for adding,...
2
by: Wiktor Zychla [C# MVP] | last post by:
Could anyone confirm/deny that following is a bug (or at least an "unexpected behaviour")? If this is not a bug, I would be glad for a short explanation or a workaround. Issue: A generic...
1
by: Doo0592 | last post by:
Hi all, Judging by the topics in here this should be a snap for all of you! Can any one explain why when i use the window.confirm in an if else statement it behaves like this: if (var ==...
2
by: Ike | last post by:
Can someone ple4ase confirm my understanding of this line of html/javascript code below?If, when the submit button is pressed, the javascript function checkdate() returns true, the form's action...
8
by: rn5a | last post by:
I have gone through a no. of posts in this NewsGroup regarding my problem but alas, couldn't come across one which would have helped me in resolving the issue. My problem is this: An ASPX Form...
2
by: pigeonrandle | last post by:
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...
4
by: Arnab das | last post by:
Below is the javascript code i am using function confirmDelete() { var returnValue = window.confirm("Deleting the current page. Continue?"); return returnValue; // var...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.