Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - ImageManager Icon and TaskDialog
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ImageManager Icon and TaskDialog

 Post Reply Post Reply
Author
Message
ProScan View Drop Down
Groupie
Groupie


Joined: 07 March 2011
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProScan Quote  Post ReplyReply Direct Link To This Post Topic: ImageManager Icon and TaskDialog
    Posted: 04 August 2011 at 5:35am
Hello...

how we can use the imagemanager icon in the Taskdialog ?

i create a new imagemanagericon

    Dim Icon As ImageManagerIcon
    Set Icon = ImageManager1.Icons.GetImage(1, 32)

    in the Taskdialog i set the Properties

        With TaskDialog
            .Reset
            .AllowCancellation = True
            .DialogWidth = 250
            .ParentHwnd = frmxxx.hWnd
            .MainIcon = xtpTaskIconCustom
            .MainIconHandle = Icon.Handle
            ...
            ...
            .ShowDialog
        End With

When i set the taskdialog.mainiconhandle to the icon.handle it does not display the imagemanager icon. Why ???

ProScan





Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.