Solved

Implementing Custom GUI using Windows

Posted on 1998-01-11
5
187 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
[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
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 200 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
DataAdapter, stored procedures and parameters 2 53
error email attachment VB2010 5 54
Asp.net Form view Pager Template First Record 2 95
Problem to adjust sheet 1 94
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
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…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 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