I've got the following "standard" piece of code implemented in a treeview
dialog:

::METHOD onShow UNGUARDED
  use arg toolTip, treeView
  r = .Rect~new
  if treeView~getItemRect(g.currentItem, r) then do
     treeView~client2screen(r)
     toolTip~setWindowPos(0, r~right + 5, r~top, 0, 0, "NOACTIVATE NOSIZE
NOZORDER")
     return .true
  end
  return .false

But I get sporadic messages like this:

   414 *-*       toolTip~setWindowPos(0, r~right + 5, r~top, 0, 0,
"NOACTIVATE NOSIZE NOZORDER")
Error 97 running C:\... line 414: Object method not found
Error 97.001:  Object "a LvCustomDrawSimple" does not understand message
"SETWINDOWPOS"

To me this seems to indicate that the caller of onShow doesn't always wait
for a response from onShow, i.e. caused by a missing willReply? I believe
that manageATypicalTool is the one calling onShow.

Staffan
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to