Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #8124

Re: MDI Taskbar

Newsgroups comp.lang.clipper.visual-objects
Date 2015-05-22 00:19 -0700
References <a695171b-6aa9-481f-99e0-7000a4554b48@googlegroups.com>
Message-ID <86e13240-623a-4e16-84c7-e39efe4ae913@googlegroups.com> (permalink)
Subject Re: MDI Taskbar
From Mathias <mathias.hakansson@consultec.se>

Show all headers | View raw


Here is something to work with...

/MathiasH

do case
        	case (uMsg == WM_KEYDOWN) .or. (uMsg == WM_KEYUP) .or. (uMsg == WM_CHAR)
	            lShiftOn := logic(_cast, _and(GetKeyState(VK_SHIFT), short(_cast, 0x8000)))
	            lCtrlOn  := logic(_cast, _and(GetKeyState(VK_CONTROL), short(_cast, 0x8000)))
	            lExtSel  := lShiftOn .and. ((uMsg == WM_KEYDOWN) .or. (uMsg == WM_KEYUP)) .and.;
	            ((wParam == VK_LEFT) .or. (wParam == VK_RIGHT) .or. (wParam == VK_END) .or. (wParam == VK_HOME))
	            if !((lAllowSelection .and. lExtSel) .or. (lCtrlOn .and. (uMsg != WM_CHAR)))

Den fredag 22 maj 2015 kl. 01:51:51 UTC+2 skrev cooge...@gmail.com:
> I am using Don Carslaw's excellent MDI Taskbar and have got it working 
> rather well in VO 2.8 (I can email an image). I now need to extend the 
> functionality so that I can drag from one window to drop on another. My plan 
> is for the drag operation to highlight the button belonging to window the 
> drop is to occur on and it will select that tab. For example, in the 
> attached image, I would drag a resource from the resource explorer, hover 
> over the Contract items button which would select the contract items window 
> and allow me to drop.
> 
> I can't get a message to fire that I can trap to do the selection. I've 
> tried using
> 
> oEvt:Message == WM_MOUSEMOVE .AND. oEvt:wParam == MK_LBUTTON
> 
> in the dispatch of the window that owns the buttons but that doesn't seem to 
> work for me and I don't know where to look now.
> 
> Anyone got any ideas that I could try.
> 
> Cheers
> 
> Glen Townsley

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

MDI Taskbar coogee.2015@gmail.com - 2015-05-21 16:51 -0700
  Re: MDI Taskbar Mathias <mathias.hakansson@consultec.se> - 2015-05-22 00:19 -0700
    Re: MDI Taskbar "Glen Townsley" <glent@pronamics.com.au> - 2015-05-23 05:01 +1000
      Re: MDI Taskbar Mathias <mathias.hakansson@consultec.se> - 2015-05-25 02:22 -0700

csiph-web