Copyright © 1998-2006 MultiMedia Soft 
Return to index  
 
PicturePressed property 
 
Type
LPCTSTR for Visual C++ 
String for Visual Basic
 
 
Syntax
object.PicturePressed  [=String]
 
 
Remarks
The filename or HTTP URL of the picture file displayed on the button when the button is pressed. If not present the PictureMouseOver property or Picture property are used. 
Supported bitmap formats are BMP, ICO, GIF, JPG, TIF and PNG while supported animation formats are GIF and AVI. 
If the filename is an HTTP URL you can use the proprietary compressed format AMZ
If you need to download the file from an FTP URL you can use the SetPictureFromNet method. 
To make the picture background transparent use the PictureTranspMode property. 
To render a picture color transparent use the PictureTranspColor property.
 
 
Notes
Only simple AVI animations can be played. Specifically, the animations played by this control must meet the following requirements: 
· There must be exactly one video stream and it must have at least one frame. 
· There can be at most two streams in the file (typically the other stream, if present, is an audio stream, although the control ignores audio information). 
· No palette changes are allowed in the video stream. 
At design time only the first frame of the AVI animation is displayed on the control; to see the AVI animation it is necessary to run the control. 
When pictures or animations are set at design-time, you do not need to distribute the pictures or animations with your application. This is because they will be included in your program at compile-time. Redistribution of images is only necessary when the images on the button will be changing at run-time.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 1998-2006 MultiMedia Soft 
Return to index