Jump to content

How to set Style for GUI follow Modal Frame Style in Visual Studio 2010

Recommended Posts

I'm Create a Console Program Project and within same Funtions to do Show Dialog . Easy Example !




#include <Windows.h>




int main()




     MessageBoxA(NULL, "DH Bach Khoa HN", NULL, MB_ICONQUESTION);


     return 1;




This is Result




i don't like this classic style and wanna it's show a dialog with modal like this ?






How can i do ? Please help me , thank you !




Share this post

Link to post
Share on other sites

If I understand you right then you have to use a manifest for using this style. Search for Microsoft.Windows.Common-Controls manifest.

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...