Changeset 815


Ignore:
Timestamp:
12/14/2008 10:02:13 AM (6 years ago)
Author:
lowjoel
Message:

Force the bootstrapper to redraw the progress window after it has been created so under XP it doesn't have a white background.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Installer/Bootstrapper/Main.cpp

    r792 r815  
    268268    SubclassWindow(*this, hWndCancelBtn, WndProc); 
    269269    SubclassWindow(*this, hWndPanel, WndProc); 
    270  
    271     UpdateWindow(hWnd); 
    272270    return true; 
    273271} 
     
    335333{ 
    336334    ShowWindow(hWnd, show ? SW_SHOW : SW_HIDE); 
     335 
     336    if (show) 
     337    { 
     338        InvalidateRect(hWnd, NULL, true); 
     339        UpdateWindow(hWnd); 
     340        Application::Get().Yield(); 
     341    } 
    337342} 
    338343 
Note: See TracChangeset for help on using the changeset viewer.