|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > Options > GetHiddenMessage |
available from build: 20250220 |
This command checks whether a particular message box has been made hidden using the check box Do not show this message again that appears in some PDM dialogs.

call DBWShell("GetHiddenMessage msg")
msg |
The parameter name that identifies the specific dialog to be checked |
@OPTION_VALUE |
0: the passed message is not present in the list of hidden, so it's visible |
The currently hidden messages are available from the User options:

SaveFilter
Inventor_PrintRotatedCustomSizeBy90Degrees
RecordAlreadyRegistered
SuppressedComponentsQuestion
SuppressedComponentsWarning
AlwaysUseDatabaseForMissingReferences
DBSESaveError
DBSESelectedComponentMustBeLoaded
DBWAppIsProtectedInReadOnly
AddAllUsersToProject
MakeProjectTheCurrentProject
ReplicationPartnersVerificationInOptions
FirstLevelBOMComparison
IncrementNewRevisionConfirm
ConfirmAddAll
ConfirmRemoveAll
MultipleRecordsAreSelected
WorkflowSuperAdminStateChange
ConfirmationDialogOkDeleteFiles
UseDefaultValuesForTaskManager
WarnWhenDeselectingADocumentOnRestoreRevision
CurrentProjectDblClk
CurrentProject
SaveSheetPreviewImages
RevisionAlreadyExistingAutoRecovery
OffSiteMode_DownloadMissingReferencesOnOpen
this example show the state of two parameters accordingly to the previous image: the first has been muted while the second has not.
sub main()
DBWInit(TRUE)
value1 = "CurrentProjectDblClk"
value2 = "ConfirmRemoveAll"
DBWShell("GetHiddenMessage " & value1)
res1 = DBWResult("@OPTION_VALUE")
DBWShell("GetHiddenMessage " & value2)
res2 = DBWResult("@OPTION_VALUE")
dbwmsgbox value1 & "=" & res1 & vbcrlf & value2 & "=" & res2
end sub
the result is this dialog:
