Solved

Implementing Custom GUI using Windows

Posted on 1998-01-11
5
180 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
Comment Utility
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
Comment Utility
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
Comment Utility
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 200 total points
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now