By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,148 Members | 765 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,148 IT Pros & Developers. It's quick & easy.

Code needs to be alerted if the Floppy drive "ready" state has changed

P: n/a
In code I check to see if the Floppy drive is ready and display it's state.

But if the user inserts or removes a floppy disk I need an event or a
Wndproc message to cause the code to display the new state.

Is the some way the code can be alerted to the fact that a removable disk
drive's state changed?
I wonder if the above isn't clear.
Think of Windows Explorer like app showing
31/2 Floppy (A:) {Not Ready}

If the floppy "ready" state changes the code needs to be notified so that
the display can be changed.

I could, for example, have a timer tick event periodically check the drive
but hope that is not the only way to do it.

Thanks in advance

Thanks
Nov 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi You !
one option you would think of it to use a different thread to check on the
driver status periodically( every certain time interval ) .
Mohamed Mafhouz

Nov 17 '05 #2

P: n/a
Thanks, that sounds good.
"Mohamoss" <mo************@egdsc.microsoft.com> wrote in message
news:V$***************@TK2MSFTNGXA01.phx.gbl...
Hi You !
one option you would think of it to use a different thread to check on the
driver status periodically( every certain time interval ) .
Mohamed Mafhouz

Nov 17 '05 #3

P: n/a
Only one thing:

If in the thread I periodically check to see if the floppy is ready the
drive will each time make a little noise.

I've been up against this before and could never find a way to check to see
if the floppy drive is ready without making the drive make that grinding
noise.

Do you know a way?


" Just Me" <gr****@a-znet.com> wrote in message
news:OR**************@TK2MSFTNGP15.phx.gbl...
Thanks, that sounds good.
"Mohamoss" <mo************@egdsc.microsoft.com> wrote in message
news:V$***************@TK2MSFTNGXA01.phx.gbl...
Hi You !
one option you would think of it to use a different thread to check on
the
driver status periodically( every certain time interval ) .
Mohamed Mafhouz


Nov 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.