Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - HOWTO: Prevent a column from being dropped
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOWTO: Prevent a column from being dropped

 Post Reply Post Reply
mgampi View Drop Down
Senior Member
Senior Member

Joined: 14 July 2003
Status: Offline
Points: 1172
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: HOWTO: Prevent a column from being dropped
    Posted: 26 July 2022 at 10:51am

How can I prevent a reorder of columns, but only when dropped outside a distinct range of columns.
I could not find something similar to a OnColumOrderChanging notification message. I only get the changed notification.
To be more precise: we have a report control that consists of three "parts" regarding the shown columns. Due to legacy reasons we can not use three different controls containing only the columns of each of the three parts and synchronize the navigation in any of the three controls with the other two.
Nevertheless, we have to avoid section overlapping column reorder, but within a "section" reorder should be possible.
Therefore, my question for a OnColumnOrderChanging function.

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.