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
ProScan View Drop Down

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

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
            .AllowCancellation = True
            .DialogWidth = 250
            .ParentHwnd = frmxxx.hWnd
            .MainIcon = xtpTaskIconCustom
            .MainIconHandle = Icon.Handle
        End With

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


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.047 seconds.