Flickering when showing full screen web browser dialog

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Rick (anonymous_at_discussions.microsoft.com)
Date: 07/22/04


Date: Thu, 22 Jul 2004 04:15:57 -0700

Hi,

I am developing an application that uses a full screen
kiosk type user interface, and has the capability of
launching a web browser based session (again in full
screen mode).

The problem is that when switching from the 'normal'
interface to the browser interface, I am getting a
noticeable flicker or white flash. Is there any way I can
prevent this?

For the browser interface, I have a CDialog derived class
that wraps the ActiveX web browser control, so
OnInitDialog looks a bit like this:

// Resolution is 1024X768
const int nMaxX = 1024;
const int nMaxY = 768;

// Create the main dialog window
CRect objRect(0, 0, nMaxX, nMaxY);
// IDD_BROWSER_DIALOG is a dialog resource specified to be
0 x 0 pixels so it is hidden initially, m_webBrowser is an
MFC generated ActiveX wrapper for the browser control
m_webBrowser.Create(BROWSER_FORM_NAME, WS_VISIBLE,
objRect, this, IDD_BROWSER_DIALOG, NULL, FALSE);
        
// Navigate the main dialog window to the holding page URL.
m_webBrowser.Navigate(szURL, NULL, NULL, NULL, NULL);

Then I trap a web broswer event OnDocumentComplete to know
when to actually show the web browser dialog, which looks
like this:

SetWindowPos(&CWnd::wndTopMost, 0, 0, nMaxX, nMaxY,
SWP_SHOWWINDOW);

Any help would most appreciated.

Regards,
Rick



Relevant Pages

  • Flickering when showing full screen web browser dialog
    ... kiosk type user interface, ... launching a web browser based session (again in full ... CRect objRect(0, 0, nMaxX, nMaxY); ...
    (microsoft.public.vc.mfc)
  • Re: Vamp Hacked!
    ... > with a web browser on any type of system anywhere on the internet. ... > not vms users, nor do I want anyone directly logging into my system, ... now a web interface to Notes - HTNotes. ... our system's HTNotes interface and work with conferences on multiple ...
    (comp.os.vms)
  • Re: Vamp Hacked!
    ... >> with a web browser on any type of system anywhere on the internet. ... >> not vms users, nor do I want anyone directly logging into my system, ... >now a web interface to Notes - HTNotes. ... >our system's HTNotes interface and work with conferences on multiple ...
    (comp.os.vms)
  • Re: Vamp Hacked!
    ... >> with a web browser on any type of system anywhere on the internet. ... >> not vms users, nor do I want anyone directly logging into my system, ... >now a web interface to Notes - HTNotes. ... >our system's HTNotes interface and work with conferences on multiple ...
    (comp.os.vms)
  • Re: No Word icon
    ... > newsgroups, ... That Interface must be resident on ... > To those of you who prefer accessing news by web browser, ... MVPs are not MS employees - Les MVP ne travaillent pas pour MS ...
    (microsoft.public.mac.office.word)