VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Set Caption to Right Side Of Form

by Billy Conner (7 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

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

Download Set Caption to Right Side Of Form

Download Set Caption to Right Side Of Form (2 KB)

Set Caption to Right Side Of Form Comments

No comments have been posted about Set Caption to Right Side Of Form. Why not be the first to post a comment about Set Caption to Right Side Of Form.

Post your comment

Subject:
Message:
0/1000 characters