` 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 May 1, 2024, 6:49 pm
This article has been viewed/printed 35121 times.