Advertisement
2002VB Custom Controls/ Forms/ Menus #23568

Change Windows Caption

This Program Changes the Caption of > ALMOST

AI

Résumé par IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Code source
original-source
'make 2 text boxes
'Name them Text1 - For The Windows Caption
'And Text2 - For the New WIndows Caption
'Make 1 Button 
'Name it Command1
Private Sub Command1_Click()
Dim temp As Long
temp = FindWindow(vbNullString, Text1.Text)
SetWindowText temp, Text2.Text
End Sub
Commentaires originaux (3)
Récupéré via Wayback Machine