|
-
Nov 2nd, 2001, 01:25 PM
#1
Thread Starter
Member
SHFormatDrive API Question??
Does anyone out there know of any other way of accessing the format dialog box beside using the SHFormatDrive API. Of what I can see and find this API is only limited to opening the dialog box and not able to control it at all.
Could someone please shed some light on the subject
Thanks in advance
Pacman
Everyone!!! Can I have your attention please?
Sit back, Relax and watch the world unfold before your very eyes.
Mystical isn't it, oh well I tried!!!
-
Nov 2nd, 2001, 01:54 PM
#2
I don't know of anyother way, but using the API has always worked for me. I've used this in a couple of applications to give my customers the ability to format diskettes, and it has worked flawlessly. What is it doing, or not doing, when you call it?
-
Nov 2nd, 2001, 02:01 PM
#3
Thread Starter
Member
The API call works fine, but I need to be able to control the dialog box a little more, in effect, not requiring user input.
Everyone!!! Can I have your attention please?
Sit back, Relax and watch the world unfold before your very eyes.
Mystical isn't it, oh well I tried!!!
-
Nov 2nd, 2001, 02:29 PM
#4
I don't know about that. All the API is doing is the same thing you would do if you used Windows Explorer to call it up. Once its up, then it is its own standalone utility program.
-
Nov 4th, 2001, 04:22 AM
#5
Hyperactive Member
If it is a standard window you could find the coordinates of the OK button and then send a key_click to the button with the API function Mouse_Event. You could subclass the windows too and then send messages yourself.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|