?
Solved

GUI "dialog box" help/question

Posted on 2003-03-15
4
Medium Priority
?
236 Views
Last Modified: 2010-04-15
All

First of all I am trying to develop an application on Windows system, and I am writing in straight C (sadly no real knowledge of C++ or C#) I am using MS Visual Studio 6... I need a way in a GUI window a.k.a a dialog/prompt box to ask the user for his uerid in a graphical format... and then to return the value of userid to the code that launched this prompt/dialog box... Any idea...??? available libraries??? etc...?

PS I have noticed that using MSVS you can make use of the MessageBox functions in straight C, however, there is no way with these message boxes to accept a value let alone have it return that value to the calling application code....

Any ideas..? if suggestion involve somthing other than straight C an example would be helpful... Actually i was hoping that there may even be a library either someone has or knows of that I can load into my C application to accomplish this... in the event this can not be done in straight C... (obviously the library might be written in another language i.e. C++, but can be loaded into my C app.. and return the entered value)...

thanks
rdest5
0
Comment
Question by:rdest5
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 1

Accepted Solution

by:
Hermetic earned 60 total points
ID: 8144138
I think for what you are wanting, you might want to research the DialogBox() function and Dialog Resources.  If you don't know Windows programming, it may not be a quick solution, but it isn't too difficult.  Also, the docs contain plenty of examples.
0
 
LVL 2

Expert Comment

by:ewest
ID: 8144990
You might have better luck getting an answer to this question in the Windows forum.
0
 
LVL 20

Expert Comment

by:jmcg
ID: 10142671
Nothing has happened on this question in more than 9 months. It's time for cleanup!

My recommendation, which I will post in the Cleanup topic area, is to
accept answer by Hermetic [grade B] (a hint rather than a solution).

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question