How to effectively change the status in custom gina



How to change the status between Userdesktop,Screen saver&lock in
custom gina&change the default dialogue with my own MFC dialogue?
Could anyone help me?Is there any example code?
Thanks!

.