Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Changing window title in REBOL/View/Pro

From: ljurado:bariloche:ar at: 22-Jan-2002 1:31

Hi Mark, try this: u32: load/library %user32.dll get-focus: make routine! [return: [int]] u32 "GetFocus" set-caption: make routine! [hwnd [int] a [string!] return: [int]] u32 SetWindowTextA view/new layout [title "TESTING"] hwnd: get-focus set-caption hwnd "My Window" HALT Luis