in Education by
As a follow up to my previous question, I am wondering how to use transparent windows correctly. If I have set my window to use transparency, the UI will occasionally appear to stop responding. What is actually happening is that the UI simply is not updating as it should. Animations do not occur, pages do not appear to navigate; however, if you watch the debugger clicking on buttons, links, etc.. do actually work. Minimizing and restoring the window "catches up" the UI again and the user can continue working until the behavior comes back. If I remove the transparent borders, the behavior does not occur. Am I doing something wrong or is there some other setting, code, etc... that I need to implement to work with transparent borders properly? Here is my window declaration for the code that fails. And the code that does not exhibit the behavior JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Are you using .NET 3.0, or .NET 3.5 on Windows XP SP2? If so, this is a known problem with the transparent window API that has been fixed in .NET 3.5 and SP3 of XP (and I think SP1 of Vista). Basically when you set the AllowsTransparency to True, the WPF pipeline has to render in software only mode. This will cause a significant degradation in performance on most systems. Unfortunately, the only thing you can do to fix this is to upgrade to .NET 3.0 SP1 (included in .NET 3.5), and install the appropriate service pack for Windows. Note that the transparent windows are still slower, but not nearly as bad. You can find a more in-depth discussion here.

Related questions

0 votes
    ____ option allows to change the window borders of the rectrangular area. Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    Which one of the following switching is not transparent? A. Circuit switching B. Packet switching C. Both the options D. None of the above...
asked Jan 8, 2023 in Technology by JackTerrance
0 votes
    . ………………….. has made the government more transparent. (a) Equality (b) Freedom (c) Right to Information (d) Social Justice Please answer the above question....
asked Aug 14, 2022 in Education by JackTerrance
0 votes
    The . in India is making conscious efforts to make political process transparent, (a) Parliament (b) ... ) Judiciary (d) Political parties Please answer the above question....
asked Aug 13, 2022 in Education by JackTerrance
0 votes
    Layer is like transparent sheet that can hold objects and are stacked on top of each other, it is useful ... elemants of your movies Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    Describe internal tables, value tables, check tables, and transparent table....
asked Jan 5, 2021 in Technology by JackTerrance
0 votes
    I'm trying to checkout a large directory and part way through, the SVN server crashed. I've tried ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 2, 2022 in Education by JackTerrance
0 votes
    I have a VB6 program that someone recently helped me convert to VB.NET In the program, when saving ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 27, 2022 in Education by JackTerrance
0 votes
    I have a VB6 program that someone recently helped me convert to VB.NET In the program, when saving ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 27, 2022 in Education by JackTerrance
0 votes
    what configuration needs to be tweaked, and where does it live, in order to increase the maximum allowed ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 19, 2022 in Education by JackTerrance
0 votes
    what configuration needs to be tweaked, and where does it live, in order to increase the maximum allowed ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 19, 2022 in Education by JackTerrance
0 votes
    In Visual Studio 2005, I have a solution with explicit dependencies specified via the Project Dependencies dialog. ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    In Visual Studio 2005, I have a solution with explicit dependencies specified via the Project Dependencies dialog. ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 10, 2022 in Education by JackTerrance
0 votes
    Which one of the following causes memory leak? (a) Release database connection when querying is complete (b) ... Miscellaneous of Java Select the correct answer from above options...
asked Feb 23, 2022 in Education by JackTerrance
0 votes
    I have a code that generates new image every time user moves slider a little and adds it to sublayer ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
...