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
Solved

subclass mdiclient in c language

Posted on 1998-07-16
2
259 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

837 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