How to freeze momentarily screen output

Posted on 2007-12-02
Last Modified: 2013-12-03
Is there a way to freeze the screen display, momentarily, for the whole system, to reduce flickering
Question by:yossikally
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
LVL 20

Expert Comment

ID: 20390832
that depends on what is flickering. can you elaborate on that? is it an opengl/directx-application's screen that is flickering? or a gui-application. or the whole desktop?


Author Comment

ID: 20390880
ok - i will explain:
I want to launch ms word in a way that's totallly hidden from the user.  So I call CreateProcess with the SW_HIDE flag in proper place, and indeed Word doesn't show the document window. However it does show the Splash Screen, and I cannot get rid of it.  I wuold like to freeze the display the way it is until word is done loading (I can tell that by FindWindowEx)and turn on screen display again
LVL 20

Accepted Solution

ikework earned 63 total points
ID: 20390911
you can control word via com (word automatization). then you have full access to word funcs and you can control its behaviour much better. there you have a flag to hide the window. look at "appObj.SetVisible(FALSE);" in the example below

here is an example:

from that side:

   _Application appObj;

      AfxMessageBox("Coud Not Create The Application Object");

   Documents docsObj(appObj.GetDocuments());
   _Document docObj,tempDocObj;
   CFileFind m_FileFind;
   m_FoundTheFile = m_FileFind.FindFile(m_SourcePath+"\\*.doc");

hope it helps,
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 20390934
No. controlling Word via COM is out of the question (it may well be another app next time).  Along these lines - freeze display for a moment
LVL 44

Assisted Solution

AndyAinscow earned 62 total points
ID: 20391126
To stop a splash screen - probably no easy way if any (unless there is a command line flag in th e app itself to suppress it).
LVL 44

Expert Comment

ID: 21187757
ikework  tells you how to control word to have the behaviour you want.  
I made an extra comment saying probably no in general.

If you look in the agreement you have with EE - no or variants on that are answers to a question.

Author Comment

ID: 21187882
Automation solution is not acceptable, and neither is 'no'.  If I can't delete the question it will remain open

Author Comment

ID: 22197388
I object.  Leave it open. Maybe eventually someone comes up with a decent answer.  

Your policy regarding questions closure is absurd, and encourages members to leave their questions open indefinitely.
LVL 20

Expert Comment

ID: 22197785
ok .. i'm trying to go on helping you .. maybe we can find a solution that fits your needs .. however .. you might have to consider to go ways that are the only practical solution .. lets try to put on light on it ..

can you explain why excactly the word-automation is not a solution for you? once you done it the first time, then its quite easy .. this is the way microsift made sure you can have a lot of control on the behaviour of word, controlled by another program .. sorry to repeat me, to me that sounds like that is excactly what you need?

we can help you implement that solution ..

but if not, please explain why you dont want that solution, that would only be fair i think .. :)


Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question