?
Solved

controls that have transparent areas

Posted on 2003-03-28
3
Medium Priority
?
188 Views
Last Modified: 2013-11-13
Hi everybody,
I'm trying to create controls that act like Microsoft Word's auto shapes so the control must have a transparent area, for example, a cricle, the remaining area outside the circle must be transparent
I tried some API fuctions "CreateRectRgn", "CreateEllipticRgn", and "SetWindowRgn" but they work with forms only and I can't use them with user controls
PLEASE help me it's very important to me
thank you for your patience
0
Comment
Question by:Ahmad_Safwat
[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
3 Comments
 

Accepted Solution

by:
machron1 earned 200 total points
ID: 8229296
You may have any action occur that you wish inside any area of the screen by handling OnClick() and checking the mouse pointer position against a set of points you have defined to be your area.  the Point object has a lot of facilitators to ease this process, but basically you have to do a lot of low level, nuts and bolts type programming unless you can find some code on the net.  
0
 

Expert Comment

by:CleanupPing
ID: 9446687
Ahmad_Safwat:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

777 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