Advertisement
5_2007-2008 Custom Controls/ Forms/ Menus #183012

Change Windows Caption

This Program Changes the Caption of > ALMOST

AI

AI Samenvatting: 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.

Broncode
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
Originele reacties (3)
Hersteld van de Wayback Machine