Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Custom controls on Popup control?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Custom controls on Popup control?

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


Joined: 20 November 2006
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote Majek Quote  Post ReplyReply Direct Link To This Post Topic: Custom controls on Popup control?
    Posted: 31 March 2007 at 9:17pm
Hi, I'm making a program that includes a media player. When the user plays a song, the Popup control appears in the corner of the screen with the file's ID3 information (title, artist, etc.). My goal is I want to display a 64x64 image of the album cover of the song inside the Popup control when they play the song. The Popup control sample included with XtremeSuite 10.1 shows an example of adding images by using:
 
Item.SetIcons(SetBitmap("../..\Icons\CloseMSN.bmp"), System.Convert.ToUInt32(0), XTPPopupItemIcon.xtpPopupItemIconNormal Or XTPPopupItemIcon.xtpPopupItemIconSelected Or XTPPopupItemIcon.xtpPopupItemIconPressed)
 
The SetIcon or SetIcons function works with saved images, or with the window handle of the image, my problem is I can't figure out how to get the window handle of a system.drawing.image since there is no handle property in vb.net.
 
So my question is, is there a way to add a custom control like a picturebox to a Popup control using 10.1? If that is not possible, is there a way to get the window handle of a system.drawing.image so I can add it to the Popup control?
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.