Main > Software Forum
Rotate screen with VB6
headkaze:
--- Quote from: DaOld Man on September 11, 2006, 07:30:23 pm ---Actually the need for this was not for a FE. (But it could be in the future.)
I wrote a program in VB6 to allow you to make favorites lists in GLaunch (which is a FE).
Glaunch can be rotated, but my program cannot be, so it makes it kinda useless if your machine has the rotated screen.
Here is a link that decribes my program, if anyone's interested in it:
http://members.tripod.com/~Skennys_Outpost/MenuMaker.html
Thanks to all who commented. I have pretty much resolved that it cant be done in VB6, not very easily anyway.
Maybe I should learn C++??
--- End quote ---
Looking at your program it is just a basic VB6 form application. To do proper rotation you would really need to be using DirectX. But even if you override the OnPaint event and capture your window using the hwnd and rotate the bits of the form then display them onscreen using a picturebox or something, you have the arduous task of relaying the button events to match up with their new rotated positions. It's quite a task to do even in C++.
Navigation
[0] Message Index
[*] Previous page
Go to full version