Code Comments
Programming Forum and web based access to our favorite programming groups.Hi all, I'm working on a unicode-replacement for the VB-Controls... i already finished some controls (Edit, Frame, CheckBox, OptionButton, ComboBox, ListBox, FileListBox und DirListBox) ... now i want to make a label-control... but after hours of testing i have no idea, how i can make the usercontrol transparent and displaying the caption with DrawTextW. The trick i found in the MSDN is not what i want to do (making a background-picture from the area the control is displayed) Does anyone now, how i can display the DrawTextW-'painted' Text and having the background of the control invisible? MfG. Benedikt Hübschen ------------------------------- SilverMoon Software GbR - http://www.silvermoon-software.de
Post Follow-up to this message> I'm working on a unicode-replacement for the VB-Controls... i already > finished some controls (Edit, Frame, > CheckBox, OptionButton, ComboBox, ListBox, FileListBox und DirListBox) ... > now i want to make a label-control... but after hours of testing i have no > idea, how i can make the usercontrol transparent and displaying the caption > with DrawTextW. > > The trick i found in the MSDN is not what i want to do (making a > background-picture from the area the control is displayed) You might not be able to make it any simpler. > Does anyone now, how i can display the DrawTextW-'painted' Text and having > the background of the control invisible? Perhaps this will help you out [url]http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=24680&lngWId=1[/ url] Rick - MVP
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.