scila1996

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

2 posts in this topic

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 ?

 

 

 

 

 1.thumb.PNG.cd30396b8532506f6b897836ab4d

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

 

 

 2.thumb.PNG.e79e87a1cb9d90a671425efdaba3

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