?
Solved

subclass mdiclient in c language

Posted on 1998-07-16
2
Medium Priority
?
266 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
[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
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 300 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

743 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