|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
transparent labelHi 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 > I'm working on a unicode-replacement for the VB-Controls... i already You might not be able to make it any simpler.> 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 Perhaps this will help you outhaving > the background of the control invisible? http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=24680&lngWId=1 Rick - MVP
simple Excel question
Package/Deployment Connection issues with ADO How to query for "today's" records? Set Scroll position in a list box 3433 Invalid setting in Excel key of the Engines section of the Windows Registry Printing Inbox mail items problem DBGrid Auto Scrolling with XP/SP2 Command Button Microsoft 'Decouples' .Net From Longhorn? |
|||||||||||||||||||||||