Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

subclass mdiclient in c language

Posted on 1998-07-16
2
Medium Priority
?
267 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
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…
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 tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

609 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