Overview | ||||||||||||||||
Group | ||||||||||||||||
Quick Info
|
SHAREVISTRING
An Open or Save As dialog box sends the SHAREVISTRING registered message to your hook procedure if a sharing violation occurs for the selected file when the user clicks the OK button. For Explorer-style Open and Save As dialog boxes, this message has been superseded by the CDN_SHAREVIOLATION notification message. MessageID = RegisterWindowMessage(SHAREVISTRING);wParam = 0;
lpofn = (LPOPENFILENAME) lParam;
Parameters lpofn Pointer to a OPENFILENAME structure. The lpstrFile member of this structure contains the filename that caused the sharing violation. Return Values The hook procedure must return one of the following values to indicate how the dialog box should handle the sharing violation:
Return value
| Description
|
OFN_SHAREFALLTHROUGH
| Accept the filename
|
OFN_SHARENOWARN
| Reject the filename but do not warn the user. The application is responsible
for displaying a warning message.
|
OFN_SHAREWARN
| Rejects the filename and displays a warning message (the same result as if
there were no hook procedure).
|
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers - More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples - Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database