Solved

elliptic shape button

Posted on 2000-03-06
10
240 Views
Last Modified: 2010-04-04
Is it possible create a elleptic shape button ??? (or other strange shape).
0
Comment
Question by:gianluca
  • 3
  • 3
  • 2
  • +2
10 Comments
 
LVL 3

Accepted Solution

by:
ckaneta earned 100 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:gianluca
Comment Utility
This question has a deletion request Pending
0
 
LVL 12

Expert Comment

by:rwilson032697
Comment Utility
This question no longer is pending deletion
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 12

Expert Comment

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

Expert Comment

by:edey
Comment Utility
hmmmmm
0
 
LVL 1

Expert Comment

by:Azerthur
Comment Utility
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
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

11 Experts available now in Live!

Get 1:1 Help Now