Solved

How to freeze momentarily screen output

Posted on 2007-12-02
13
1,028 Views
Last Modified: 2013-12-03
Is there a way to freeze the screen display, momentarily, for the whole system, to reduce flickering
0
Comment
Question by:yossikally
  • 4
  • 3
  • 2
13 Comments
 
LVL 20

Expert Comment

by:ikework
Comment Utility
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?

ike
0
 

Author Comment

by:yossikally
Comment Utility
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
0
 
LVL 20

Accepted Solution

by:
ikework earned 63 total points
Comment Utility
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:

http://www.codeguru.com/cpp/misc/misc/microsoftofficeoutlook/article.php/c3881/

from that side:

   _Application appObj;

   if(!appObj.CreateDispatch("Word.Application"))
   {
      AfxMessageBox("Coud Not Create The Application Object");
   }

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


hope it helps,
ike
0
 

Author Comment

by:yossikally
Comment Utility
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
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 44

Assisted Solution

by:AndyAinscow
AndyAinscow earned 62 total points
Comment Utility
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).
0
 
LVL 44

Expert Comment

by:AndyAinscow
Comment Utility
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.
0
 

Author Comment

by:yossikally
Comment Utility
Automation solution is not acceptable, and neither is 'no'.  If I can't delete the question it will remain open
0
 

Author Comment

by:yossikally
Comment Utility
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.
0
 
LVL 20

Expert Comment

by:ikework
Comment Utility
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 .. :)


ike
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now