Dispaly the System Settings Changed Restart Dialog

Category:
System/API
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 5

More information:
This code shows the System Settings Changed restart dialog, which you may have seen after installation of a program.

To use it, use RestartDialog Someform.hwnd, YOUR_EXTRA_MESSAGE, flag' e.g., Form1.hwnd, "", EWX_REBOOT

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: