prompt foreground window elevation
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
ae8d97eb72
commit
02aedd234c
30 changed files with 131 additions and 30 deletions
|
|
@ -985,6 +985,15 @@ impl<T: InvokeUiSession> Remote<T> {
|
|||
.msgbox("custom-uac-nocancel", "Warning", "uac_warning");
|
||||
}
|
||||
}
|
||||
Some(misc::Union::ForegroundWindowElevated(elevated)) => {
|
||||
if elevated {
|
||||
self.handler.msgbox(
|
||||
"custom-elevated-foreground-nocancel",
|
||||
"Warning",
|
||||
"elevated_foreground_window_warning",
|
||||
);
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
},
|
||||
Some(message::Union::TestDelay(t)) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue