Solved

Creating non-rectangular window

Posted on 1997-08-26
1
518 Views
Last Modified: 2013-11-20
I need to create non-rectangular window without border and without title bar. More exactly I need a picture( not rectangular shape) to behave like window, it means there is some "hot" area on the picture so that when user click mouse button on it and move i want to move entire picture. I tried to implement common window and transparently blitting on it, but the problem is when I begin moving it this transparent area outside picture is not redrawn. I also tried to specify window region by SetWindowRegion, but also are outside picture( or window region) is not redrawn. What way can I implement this?
0
Comment
Question by:galkin
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 100 total points
ID: 1304940
Create a regular window, define the shape you want in a region and finally then call SetWindowRgn. I don't think it works with a transparent background though.

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Title # Comments Views Activity
Creating Labels and Frequency list style reports in SAS code 9 105
Tab names are off by one 5 54
sum13 challenge 24 123
Sed question 2 102
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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