10-25-2016, 03:02 PM
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
The grid is also initialised in your D&D version with
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 :
while this variable (di) is also defined in in your D&D version :
Is it likely that I have to define a different name for this parameter.
I would appreciate your further advice and assistance.
Best regards.
(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.