Solved

elliptic shape button

Posted on 2000-03-06
10
245 Views
Last Modified: 2010-04-04
Is it possible create a elleptic shape button ??? (or other strange shape).
0
Comment
Question by:gianluca
[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
  • 3
  • 2
  • +2
10 Comments
 
LVL 3

Accepted Solution

by:
ckaneta earned 100 total points
ID: 2589049
I use an organic shape button component, but there are lots out there.
check out Torrys delphi pages.
0
 
LVL 6

Expert Comment

by:edey
ID: 2589095
you can use the setWindowRGN function with *any* window, you just need i's handle:

The SetWindowRgn function sets the window region of a window. The window region determines the area within the window where the operating system permits drawing. The operating system does not display any portion of a window that lies outside of the window region

int SetWindowRgn(

    HWND  hWnd,      // handle to window whose window region is to be set
    HRGN  hRgn,      // handle to region
    BOOL  bRedraw      // window redraw flag
   );


GL
Mike
0
 
LVL 12

Expert Comment

by:rwilson032697
ID: 2589251
You may want to have a look at this component:

ftp://ftp.cdrom.com/pub/delphi_www/ftp/d20free/hembtn_1.zip

Cheers,

Raymond.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:gianluca
ID: 2595214
This question has a deletion request Pending
0
 
LVL 12

Expert Comment

by:rwilson032697
ID: 2597688
This question no longer is pending deletion
0
 
LVL 12

Expert Comment

by:rwilson032697
ID: 2597689
Why are you deleting the question? Have we not answered it?
0
 
LVL 6

Expert Comment

by:edey
ID: 2597932
hmmmmm
0
 
LVL 1

Expert Comment

by:Azerthur
ID: 2602274
If you want you can also creates a simple elliptic shape and use an onclick event to make it works as a button
0
 

Author Comment

by:gianluca
ID: 2603632
I want a real button component : when I click on it the button seems pressed and then becomes normal again.
0
 

Author Comment

by:gianluca
ID: 2603640
I relized that this question is no more important to me at the moment, so I decided to delete it. To be honest, this is the best answer I received (I found a component like I wanted in Torrys pages) so I accept the answer.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

717 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