Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

elliptic shape button

Posted on 2000-03-06
10
Medium Priority
?
247 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 300 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

636 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