Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 276
  • Last Modified:

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

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
0
xapsx
Asked:
xapsx
  • 3
1 Solution
 
EddieShipmanCommented:
modify the creation of the panel object and make it owner drawn and then draw it
yourself.
0
 
EddieShipmanCommented:
That is because it only uses these edge styles:
WS_DLGFRAME, SS_SUNKEN

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

0
 
xapsxAuthor Commented:
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)
0
 
EddieShipmanCommented:
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.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now