change screen resolution/color depth when app gains or loses focus. in visual basic

The following Visual Basic project contains the source code and Visual Basic examples used for change screen resolution/color depth when app gains or loses focus.. This basically works like most heavy graphics-oriented games where it has it's own display mode.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
frmMain.frm 2562
modFormFocus.bas 1383
modScreenRes.bas 2583
modTopMost.bas 714
ResChange.vbp 745
ResChange.vbw 160

SocialTags: