[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 430
  • Last Modified:

OK and Cancel buttons MFC Application Dialog box

Working with Visual Studio 2008, just created a dialog box using MFC application for our company's end-user agreement.  I've renamed 'OK' to 'I Agree' and renamed 'Cancel' to 'I Disagree'.  How can I program the 'I Agree' button to continue logon to Windows operating system, and also how to program 'I Disagree' button to log off or shut down the computer?   Lastly how can I program this to load in the logon script when users log onto our domain?
1 Solution
It doesnt need to be in a login script, it should be built as a Custom GINA, and implemented into the registry.....

More info on what teh GINA is, and does.

The Essentials of Replacing the Microsoft Graphical Identification and Authentication Dynamic Link Library

This is another thread where I assisted in deploying the custom GINA.

How to replace msgina.dll across domain?

Once it is deployed, then it is done, no need to keep it active in there.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now