Solved

elliptic shape button

Posted on 2000-03-06
10
244 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
Industry Leaders: 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: 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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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