Thumbnail Dialog
How to start the common dialog in thumbnail view. Emulates the button clicks needed to show the common dialog form in thumbnail view.
The app is hooked to watch for the common dialog creation messages, and a Timer back on the form is activated to programatically click the proper button locations. This sample uses a derivative of the technique created for the Windows Styles article in Visual Basic Programmer's Journal.
About this post
Posted: 2017-09-06
By: BlackBeltVB
Viewed: 346 times
Categories
Attachments
THUMBDLG.ZIP
Posted: 9/4/2017 5:18:52 AM
Size: 3,885 bytes
Requirements
This code originally appeared on BlackBeltVB.com, and has been republished here with the permission of Matt Hart.
Special Instructions
Uses the following API functions:
- CallNextHookEx
- CopyMemory (RtlMoveMemory)
- GetClassName
- GetWindowRect
- IsWindow
- mouse_event
- SetCursorPos
- SetWindowsHookEx
- UnHookWindowsHookEx
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.