Posted: Sun May 18, 2008 5:25 pm Post subject: Dialog..that waits
Many members of this forum in the past have helped me by sharing their widespread knowledge and immense experience in programming. I learned little by little from the suggestions and tips given by them. Thanks .
As part of that process…
I understand that Dialog box is a small window that waits for information from the user; having received that info, it bows out without a sound.
But how to create one? That is my issue now. Please look at these lines...
#include<iostream>
#include<windows.h>
using namespace std;
1) Change the program from console to windows application.
Use a WinMain function instead of the regular main.
2) Call the DialogBox() function to display a dialog. (You need a resource as well that describes what the dialogbox looks like)
This probably doesn't mean much to you, but all will get clear if you go through these nice and compact tutorials (I started with those a long time ago, and they helped me a lot) :
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum