VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Set Caption to Right Side Of Form

Billy Conner  (7 Submissions)   Miscellaneous   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This is just a sample program that shows how to set the Caption to the right side of your form using API. Also included is a way to make your form appear backwards. I havent seen this done by using API before, Just cheap imitations using strings. !Win2k only!

API Declarations
--API Declares---
Function GetWindowLongA Lib "user32"
Function SetWindowPos Lib "user32"
Function SetWindowLongA Lib "user32"
---Constants---
GWL_EXSTYLE
SWP_NOZORDER
SWP_NOMOVE
SWP_NOSIZE
WS_EX_LAYOUTRTL
WS_EX_RIGHT

Rate Set Caption to Right Side Of Form (6(6 Vote))

Download Set Caption to Right Side Of Form

Set Caption to Right Side Of Form Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters