Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Win API / September 2008



Tip: Looking for answers? Try searching our database.

DrawText - Vert Center plus Word Break

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ed - 21 Sep 2008 05:41 GMT
Hi,

I was using DrawText API but found out in order to use DT_VCENTER
(center text vertically) it can only be used with DT_SINGLELINE (single
line), though I need to have DT_WORDBREAK (multi line) too, like how
text is shown in VB's check box.

Since DrawText can't do both, how is this done?

Thanks,
Ed
Michel - 21 Sep 2008 07:14 GMT
> Hi,
>
[quoted text clipped - 4 lines]
>
> Since DrawText can't do both, how is this done?

Read MSDN better...
... and Google Groups -> has been answered... hundreds of times
Ed - 21 Sep 2008 11:00 GMT
>Read MSDN better...
>... and Google Groups -> has been answered... hundreds of times

Well I couldn't find an answer on google which is why I came here. ;)

Never mind, I figured it out.
Ed
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.