Newsgroups: microsoft.public.win32.programmer.ui, microsoft.public.win32.programmer.kernel, comp.os.ms-windows.programmer.win32
From: gbrow...@gmail.com
Date: 17 Jan 2006 19:45:56 -0800
Local: Tues, Jan 17 2006 10:45 pm
Subject: Possible to use common controls (progress bar) in network provider DLL?
I'm trying to display a progress bar after a Ctrl-Alt-Del passsword
change using non-MFC dialogs, but the UI locks up while displaying child dialogs shortly there after on roughly half of the XP machines I've tested on. The same child dialogs work fine when the progress dialog isn't displayed. Anyone know of any gotchas using comctl32 from a system process? Here's the code that displays the progress dialog: ================================= HWND hProgressWnd = CreateDialogParam(hInstance, ShowWindow(hProgressWnd, SW_SHOWNORMAL); case WM_COMMAND: } ================================= /* How the dialog is updated */ SendDlgItemMessage(hProgressWnd, IDC_PROGRESS, PBM_STEPIT, 0, 0); UpdateWindow(hProgressWnd); ================================= -Gregg You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||