Re: How do I make the CryptoAPI private key access dialog box modal?

From: Rhett Gong [MSFT] (v-raygon_at_online.microsoft.com)
Date: 03/04/04


Date: Thu, 04 Mar 2004 05:50:01 GMT


>By 'may stop' do you mean that I should just hope the user won't
>press anything because they see a wait cursor?
No. I mean it depends on the scenario you came across.

For example, I ever met a problem that I need to control a device on remote. There are many buttons in the panel to send control commands to the device. I
must wait a reply from device when I want to send next command. But actually, users could click other buttons to send command before the previous reply come
back. In this scenario, I used DoWaitCursor to stop user from clicking the other command buttons before the reply arrived.

Since I don't know how you used CryptSignHash in your code, I suggest you using it if you come into the similar scenario as I said above. If not, it can not help
anything.

thanks,
Rhett Gong [MSFT]
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks.


Quantcast