This was the conversion from my previous posted topic Having full screen without accessing the SHFullScreen API. Basically, it remain accessing the same set of native API by means of p/invoke (Platform Invoke).
Using the code
In this conversion, I moved the
DoFullScreen function into a new class
FSEngine. Therefore, all you need to do are the below three steps, then you will be ready to ROCK! :p
First, refer the
FSEngine in your project.
Private fse As FSEngine
Second, instantiate and initialize the
fse = New FSEngine
Third, switch between full screen and normal mode.
If fse.DoFullScreen(True) = 0 Then
If fse.DoFullScreen(False) = 0 Then
Please refer to previous topic on Full screen for more information.