From: GT on 24 May 2010 09:47 I would like to prevent my HTML view from changing when a user drags another html file onto my HTML view. Currently, it navigates to any new file dragged onto my view. Can anyone tell the 'correct' operation to override to change this 'file drop' behaviour? I can catch the new navigation in my OnBeforeNavigate2 operation, but just wondered what the 'file drop' method/event is called. Thanks, GT
From: Seetharam on 24 May 2010 12:25 http://msdn.microsoft.com/en-us/library/aa768266(VS.85).aspx -Seetharam
From: David Ching on 24 May 2010 22:08 "GT" <ContactGT_rem_ove_(a)hotmail.com> wrote in message news:4bfa831f$0$31685$c3e8da3(a)news.astraweb.com... > I would like to prevent my HTML view from changing when a user drags > another html file onto my HTML view. Currently, it navigates to any new > file dragged onto my view. Can anyone tell the 'correct' operation to > override to change this 'file drop' behaviour? > You can disable handling a drop altogether with CHtmlView::SetRegisterAsDropTarget http://msdn.microsoft.com/en-US/library/th96sbfh%28v=VS.80%29.aspx -- David
|
Pages: 1 Prev: Bitmap als Dialoghintergrund Next: The old "Component Gallery" |