Damn you DrawText!
-
DrawText doesn't do vertical text - there goes my promise for a quick cutesy hack :(
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!No, but if you're using GDI+, you can use a rotate transform.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
DrawText doesn't do vertical text - there goes my promise for a quick cutesy hack :(
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us! -
DrawText doesn't do vertical text - there goes my promise for a quick cutesy hack :(
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!Use GDI+. Look up
StringFormatFlagsDirectionVertical
.Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
C++/CLI in Action (*E-Book is out, Print version April 6th*) -
DrawText doesn't do vertical text - there goes my promise for a quick cutesy hack :(
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us! -
No, but if you're using GDI+, you can use a rotate transform.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Christian Graus wrote:
No, but if you're using GDI+, you can use a rotate transform.
That's not the same as vertical text. I think what he's looking for is :- H e l l o For that, he can use
StringFormatFlagsDirectionVertical
.Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
C++/CLI in Action (*E-Book is out, Print version April 6th*) -
DrawText doesn't do vertical text - there goes my promise for a quick cutesy hack :(
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!Or set the escapement on the font?
-
DrawText doesn't do vertical text - there goes my promise for a quick cutesy hack :(
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!well, it's the FONT that sets the angle... If DrawText doesn't respond to that, I -know- that TextOut does.
-
No, but if you're using GDI+, you can use a rotate transform.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
You don't need GDI+ If you're on any NT based version of Win32 then SetWorldTransform() will do the trick as well.
¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Techno Silliness
-
DrawText doesn't do vertical text - there goes my promise for a quick cutesy hack :(
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!1. Draw the text on an off-screen buffer 2. Use one of the many readily available CAPTCHA busters to find the locations of the characters within the image. 3. Reposition the characters on a new off-screen buffer in the order they were discovered, except vertically 4. BitBlt the off-screen buffer onto the screen buffer 5. Bask in the warm glow of success and admiration of your peers
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
1. Draw the text on an off-screen buffer 2. Use one of the many readily available CAPTCHA busters to find the locations of the characters within the image. 3. Reposition the characters on a new off-screen buffer in the order they were discovered, except vertically 4. BitBlt the off-screen buffer onto the screen buffer 5. Bask in the warm glow of success and admiration of your peers
cheers, Chris Maunder
CodeProject.com : C++ MVP
:-D I tried, but the captcha buster started to sneak V1agra messages in...
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!