Solved

subclass mdiclient in c language

Posted on 1998-07-16
2
258 Views
Last Modified: 2013-12-03
I would like to draw my own background in a mdi application. I have read several answers to this question and this is what I believe I have to do:

1. create the main frame window
2. create the mdi client window, but this have to be subclassed in order to handle the WM_ERASEBKGND message and to draw my own background.

well, the problem is how do I "subclass" the mdi client window? I have seen this done using C++ and MFC but I'm wondering how this can be acomplished in C.

I haven't been able to compile the C++ code and run it in a debugger and see how to do it.

Fredrik Sundstroem
fresun-7@student.luth.se
0
Comment
Question by:fresun
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
ID: 1410407
Here is an example of subclassing in C.
http://www.frogpond.org/~markg/article/subc.html
0
 

Author Comment

by:fresun
ID: 1410408
thanks for that quick answer!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

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…
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…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

809 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