Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - XPButton drawing glitch
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XPButton drawing glitch

 Post Reply Post Reply
Author
Message
A-C. View Drop Down
Newbie
Newbie
Avatar

Joined: 21 September 2006
Location: Canada
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote A-C. Quote  Post ReplyReply Direct Link To This Post Topic: XPButton drawing glitch
    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
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 22 November 2006 at 2:19pm
Same here but only when I use SetBitmap
Simon HB9DRV
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.