Solved

subclass mdiclient in c language

Posted on 1998-07-16
2
251 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
Comment Utility
Here is an example of subclassing in C.
http://www.frogpond.org/~markg/article/subc.html
0
 

Author Comment

by:fresun
Comment Utility
thanks for that quick answer!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

10 Experts available now in Live!

Get 1:1 Help Now