this forum is for help in writing software. I don't think you need help in writing Windows or any other software.
The Windows user forum is at answers.microsoft.com.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP