Place Control in Listview,save position

VB6,
I want to let user add some Picture
control to the listview, and let
user drag/drop the picture control  ,
and then save the position of the
control.

The next time it can display all of
the picture control in then listview
at the position what the user want.

Can anybody give me a sample code?
hxbAsked:
Who is Participating?
 
rondeaujConnect With a Mentor Commented:
use the following

call the GetWindowPos() API and save the results

when you are ready to put the object back in place call the
SetWindowPos() api
0
 
hxbAuthor Commented:
Edited text of question.
0
All Courses

From novice to tech pro — start learning today.