From 107d6e00cece1fb1545f5403193576f822e93a09 Mon Sep 17 00:00:00 2001 From: "alexeypa@chromium.org" Date: Tue, 1 May 2012 21:48:49 +0000 Subject: Using Vista common controls library to show pretty controls in the PIN confirmation dialog. Review URL: https://chromiumcodereview.appspot.com/10270034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134790 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/host/elevated_controller_module_win.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'remoting/host/elevated_controller_module_win.cc') diff --git a/remoting/host/elevated_controller_module_win.cc b/remoting/host/elevated_controller_module_win.cc index f4cc407..6f7c8a2 100644 --- a/remoting/host/elevated_controller_module_win.cc +++ b/remoting/host/elevated_controller_module_win.cc @@ -31,6 +31,12 @@ remoting::ElevatedControllerModuleWin _AtlModule; int WINAPI WinMain(HINSTANCE instance, HINSTANCE, LPSTR, int command) { CommandLine::Init(0, NULL); + // Register and initialize common controls. + INITCOMMONCONTROLSEX info; + info.dwSize = sizeof(info); + info.dwICC = ICC_STANDARD_CLASSES; + InitCommonControlsEx(&info); + // This object instance is required by Chrome code (for example, // FilePath, LazyInstance, MessageLoop). base::AtExitManager exit_manager; -- cgit v1.1