Solved

Create....Rgn, can I do that on any object?

Posted on 1998-01-04
2
332 Views
Last Modified: 2008-03-17
Hi there.
I want to know if I can use fx CreateRoundRectRgn on fx a label or textbox, commandbutton etc.
Then what is the Set..?..Rgn I am supposed to use.
Set MetaRgn?????
Please Help.
0
Comment
Question by:CATT
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
polygon earned 30 total points
ID: 1449139
You can create whatever regions you want.
The restriction is that you cannot set them to all of the controls.
You can use the SetWindowRgn for every control which has ".hWnd" property.
For example : forms, picture boxes,command buttons, textboxes,dir and file listboxes, List boxes and etc.


0
 
LVL 2

Expert Comment

by:polygon
ID: 1449140
For the whole list see hWnd propery in the VB Help.Look at the "Applies To".
I'm sure that you cannot use SetWindowRgn for labels.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now