` Printed Icetips Article

Icetips Article



Par2: Window title - no text but appear in window list
2000-02-24 -- Stephen Fulton
 
Put this in your Global map

 MODULE('')
   !BOOL SetWindowText(HWND hwnd, LPCTSTR lpsz)
   SetWindowTextA(UNSIGNED,LONG),BOOL,PASCAL,RAW
 END

Remove the text from the window in the window formatter.

Put this in the data section

myText CSTRING(100)

Put this in the OpenWindow embed

myText = 'Title of my window'
did_it_work# = SetWindowTextA(0{Prop:Handle},ADDRESS(myText))



Printed November 21, 2024, 12:30 pm
This article has been viewed/printed 35260 times.