changing TKOLPanel's bevel at runtime.. (KOL)

Posted on 2006-05-07
Last Modified: 2010-07-27
TKOLPanel doesn't support bevelwidth and bevelouter options..
how do i change panel's bevel at runtime? like TPanel?

any help would be much appreciated
Question by:xapsx
    LVL 26

    Expert Comment

    modify the creation of the panel object and make it owner drawn and then draw it
    LVL 26

    Accepted Solution

    That is because it only uses these edge styles:

    The only thing you'll be able to do is use SetWindowLong to change the style.


    Author Comment

    do you mind to help me to find the appropriate style?
    and.. do you know how to set it focused, and down as well?
    thanks man, points are yours, (points increased)
    LVL 26

    Expert Comment

    I don't really know as I have never used those controls.
    I only took a cursory look at the source to see how it was
    being done.

    It only supports the two styles I showed, see MSDN for how to change the style
    of a Window with one of the above styles.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    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…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    737 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

    20 Experts available now in Live!

    Get 1:1 Help Now