Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Implementing Custom GUI using Windows

Posted on 1998-01-11
5
Medium Priority
?
197 Views
Last Modified: 2013-12-03
OK, I asked a question earlier about designing my own window
borders, button icons, and backgrounds. I was told this is
possible. Now I would like to know how to do it. I have
looked in the Win95 SDK documentation, and I cannot seem
to find it.

If possible, I would like to have sample code (that does not
violate copyright, of course). I will gladly increase the
number of points if somebody is willing to give me a really
good answer.

Thanks.
0
Comment
Question by:corno
5 Comments
 
LVL 1

Expert Comment

by:_Zaphod
ID: 1410000
If all else fails, you can just draw the whole thing by yourself using the Windows GDI functions. Of course, that's very obvious and lame of me to say.
0
 

Author Comment

by:corno
ID: 1410001
Well, I wouldn't consider that to be a *lame* answer... could you point me to sample code that shows how to do it? I am also considering that Windows may not be the best way to do this.
0
 
LVL 23

Expert Comment

by:chensu
ID: 1410002
If you are using Visual C++, you can take a look at the MFC source code winmini.cpp, which implements CMiniFrameWnd.
0
 
LVL 32

Accepted Solution

by:
jhance earned 800 total points
ID: 1410003
Under Windows you can get an area of the screen or even the entire screen and have complete control over it.  You can draw whatever you want, buttons, bitmaps, icons, etc.  It's up to you.  It seems from the text of your question that you are not at all familiar with Windows programming but are asking someone to tell you how to do everything at once.  My recommendation would be to start with a basic Windows programming book to familiarize yourself with the basics.  These apply whether you are drawing on a "Windows window" or a window of your own making.  I'd recommend Petzold's Programming Windows as a starting point.
0
 

Author Comment

by:corno
ID: 1410004
I'll wait on grading this question until I've had a chance to
look in the books and confirm that what I need to know is there.

You're right that I'm not familiar with Windows programming...
I found so much information that I didn't know when to start. Of
course the first thing I did was ask if anybody knew how to do
this .... why bother reinventing the wheel =)


0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

824 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