|
-
Dec 1st, 2011, 01:24 AM
#6
Re: Dock Bar
if you want to know what changes i made:
- set mainForm.allowdrop = true
- handled mainForm_DragOver + mainForm_DragDrop
- in the dragover event it only shows dragging allowed for files
- in dragdrop, if dragged data is file(s), it creates a new picturebox for each file + sets the appropriate properties (size, location, tag, image, cursor), extracting the associated icon for image
- + adds a handler for doubleclick
- in the pb_doubleclick event it runs the file in it's default editor/viewer
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|