Re: what happens when WM_DEVMODECHANGE message is broadcasted
- From: "Kevin" <kevin11@xxxxxxxxxxx>
- Date: Tue, 19 Dec 2006 17:34:23 -0800
The application must handle the message in it's window procedure in order to
detect the changes. If it was not written to handle the message, it will
not update it's UI to reflect them.
"Ken" <Ken@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:21A7C91E-9F29-4CE3-8919-EBEC2AE87884@xxxxxxxxxxxxxxxx
Hi..
Whenever printer settings are changed, i am passing this message.
SendMessageTimeout (HWND_BROADCAST, WM_DEVMODECHANGE, 0L, (LPARAM)
pszPrinterName, SMTO_NORMAL, 1000,
NULL)
So that applications will come to know the change in devmode. But the new
changes are not reflected in opened applications. Can somebody tell me
what
happens when WM_DEVMODECHANGE message is broadcasted?? and why the change
is
not reflected in opened application??
Thanks in Advance.
.
- Prev by Date: Re: Emulate USB Modem device
- Next by Date: Re: usb filter driver - constant serial number
- Previous by thread: Emulate USB Modem device
- Next by thread: Re: Vista fixes PCIe re-install problem ... why ?
- Index(es):