On Apr 10, 2006, at 2:40 PM, Peter Truskier wrote:
The following snippet compiles and works correctly in RB 5.X - 2006r1, but results in a compiler error - "this method does not exist" - on "err = SetUserFocusWindow(-1)" (i.e., in the "else" code):if w <> NIL thenDeclare Function SetUserFocusWindow Lib "CarbonLib" (inWindow as WindowPtr) as Integererr = SetUserFocusWindow(w) elseDeclare Function SetUserFocusWindow Lib "CarbonLib" (inWindow as integer) as Integererr = SetUserFocusWindow(-1) end ifIs this a bug, or am I doing something wrong?
It certainly is a bug. Please file a report. Thanks, Jon -- Jonathan Johnson REAL Software, inc. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
