15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


non-OLE DoDragDrop

Asila Salem -- ASalem_Ideal@nets.com.jo
Wednesday, February 19, 1997

Environment: VC++ 4.0, Win 95

Hello,

I'd like to enable the user to drag non-OLE interface elements and move them
around my CScrollView inherited view. I'm using CRectTrackers, but I need the
part where the view scrolls when the user drags outside the visible part of
the view. 
Does anyone have the code that mimics OLE-DoDragDrop interface in a
CScrollView?

Asila Salem
IdealSoft, Jordan
ASalem_ideal@nets.com.jo



Shane Triem -- shane@steptech.com
Thursday, February 20, 1997


Refer to the book
Windows Interface Guidelines for Software Design
By: Microsoft Corporation
Price: $29.95 ($39.95 Canada)
Length: 300 pages
ISBN: 1-55615-679-0
Release date: July 1995

Chapter 5, page 82, section titled "Scrolling When Transferring by   
Dragging".  The algorithm for auto-scrolling is discussed here.

Shane Triem
STEP Technology
Portland, OR
shane@steptech.com

 ----------
From:  Asila Salem
Sent:  Thursday, February 20, 1997 12:07 AM
To:  SHANE; 'MFC-L@SMTP '
Subject:  non-OLE DoDragDrop

Environment: VC++ 4.0, Win 95

Hello,

I'd like to enable the user to drag non-OLE interface elements and move   
them
around my CScrollView inherited view. I'm using CRectTrackers, but I need   
the
part where the view scrolls when the user drags outside the visible part   
of
the view.
Does anyone have the code that mimics OLE-DoDragDrop interface in a
CScrollView?

Asila Salem
IdealSoft, Jordan
ASalem_ideal@nets.com.jo





Become an MFC-L member | Вернуться в корень Архива |