Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / May 2004

Tip: Looking for answers? Try searching our database.

Can flicker be stopped in a macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jon - 11 May 2004 01:20 GMT
I have a macro that executes "Edit.ToggleOutliningExpansion" many times. Is there a way to suppress the redrawing of the page until
the macro is completed? "DTE.SuppressUI" does not help.
Gary Chang - 11 May 2004 07:59 GMT
Hi Jon,

> I have a macro that executes "Edit.ToggleOutliningExpansion" many times.
Is there a way to suppress the redrawing of the page until the macro is
completed?

It appears no such a method in the DTE methods, maybe you can try the Win32
API: LockWindowUpdate to suppress the update of the "VsTextEditPane" window
during the execution of your Macro.

However it has some difficulties to get the handle of that "VsTextEditPane"
window, you have to use the FindWindow and FindWindowEx to dig it out.

Thanks!

Best regards,

Gary Chang
Microsoft Online Partner Support

Signature

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.