Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drag & Drop in Grid Cell
#5
I am still trying to introduce the drag & drop (D&D) control in my routine. I am envisaging two main problems :


(1)
The grid in my routine is initialised with
Quote: DlgGrid g.Init(hDlg 4)

The grid is also initialised in your D&D version with
Quote:DlgGrid g.Init(di.hwndTarget)

Could you kindly advise on the way I could unify these two initializations, or is it impossible and therefore, I should give it up?

(2)
In the "messages3" section of my routine (notifications) I define :
Quote:NMLVDISPINFO* di=+nh

while this variable (di) is also defined in in your D&D version :

Quote:QMDRAGDROPINFO& di=+lParam

Is it likely that I have to define a different name for this parameter.

I would appreciate your further advice and assistance.
Best regards.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)