Print Page | Close Window

XPButton drawing glitch

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=5583
Printed Date: 28 September 2024 at 11:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XPButton drawing glitch
Posted By: A-C.
Subject: XPButton drawing glitch
Date Posted: 22 November 2006 at 2:16pm
Hello,
 
I want to use the CXTButton for the nice alpha blending of the icons.
 
I added the manifest file from your examples to get the XP rounded buttons. I set the button style to BS_XT_SEMIFLAT | BS_XT_WINXP_COMPAT and seem to always be getting a pixel around the edge that doesn't refresh properly as show with the first button of the attached image:
 
 
 
If I revert to CButton, I don't have this drawing glitch (2nd button of the image).
 
I am using the .net dlg editor to position the controls in my CDialog. Any idea how to get rid of this problem?
 
Thank you in advance,
AC



Replies:
Posted By: Simon HB9DRV
Date Posted: 22 November 2006 at 2:19pm
Same here but only when I use SetBitmap

-------------
Simon HB9DRV



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net