Custom controls on Popup control? |
Post Reply |
Author | |
Majek
Groupie Joined: 20 November 2006 Status: Offline Points: 24 |
Post Options
Thanks(0)
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?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |