PPT97: Sample VB Code to Control Window Redraw (166100)
The information in this article applies to:
- Microsoft PowerPoint 97 for Windows
This article was previously published under Q166100 SUMMARY
This article shows how to use the LockWindowUpdate API function in the
SetSmallCaps() macro to prevent PowerPoint from redrawing the application
window. When the window is not locked you can see the fonts change as the
macro runs. When the window is locked, this transition from normal text to
small capital letters appears instantaneous. The macro unlocks the window
before it finishes.
For more information about the SetSmallCaps() macro, please see the
following article in the Microsoft Knowledge Base:
163694 PPT: Sample Code to Apply Small Caps Formatting to Selection
REFERENCES
For additional information, please see the following articles in the
Microsoft Knowledge Base:
164735 PPT97: Sample VB Code to Obtain Window Handle
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbcode kbdtacode kbhowto kbmacro kbProgramming KB166100 |
---|
|