This has probably been asked before, but I am having trouble with menu options and pop up response to right click, when running the program on the second screen.
Now that I have Selected user_resize, I can move the program around, but the pop-up's do not follow. My pop-up response window appears on the primary screen (possibly where the program first started up).
Is there a way to control their location ? or at least set their default to the centre of the active window, when it is on the second screen ? A few times now, I have forgotten that I was running on the second screen and the program appears to freeze !!
A typical program of mine has the %gr setup as
!
i = winio@ ('%ca@&', caption)
!
i = winio@ ('%ww[no_border]&')
!
i = winio@ ('%sc&', plot_setup_func) ! call setup function
i = winio@ ('%pv&')
!
ptr_RGB_Address = -1 ! pointer for RGB direct addressing not used
i = winio@ ('%`^gr[grey, user_resize, rgb_colours]&', &
1024, 768, w_handle, screen_back_func)
!
i = winio@ ('%mg&', WM_MOUSEWHEEL, OnMouseWheel) ! mousewheel response
!
call Tide_Menu
!
i = winio@ ('%hw', hwnd) ! return the handle of the current window.
!
I also have a right-click pop-up window as:
i = winio@ ('%ca[Node Information]&')
i = winio@ (' Node Number %6wd&', node)
i = winio@ (' [possible %6wd]&', nf)
i = winio@ ('%2nlX = %12wf&',pnxyz(1))
i = winio@ ( '%nlY = %12wf&',pnxyz(2))
i = winio@ ( '%nlZ = %12wf&',pnxyz(3))
i = winio@ ('%2nl%cn%bt[OK]')
Any suggestions ?
John