Hi, I need little help with using MediaPlayer from System tab in Borland Builder 6 for C++. Does anyone know what member function of MediaPlayer returns bool variable which tells us is music currently being played or not? I have seen solution for this problem where we use Timer which has frequency which equals the length of song that is being played, so as soon as specified time passes, Timer switches to the next song. But I wish to know is that the only way. Thank you!

Member Avatar
+0 forum 0

Hi, I have simple question: how do I make Windows Media Player in BorlandC++ ( an ActiveX component ) plays all songs from specified folder? Thanks.

Member Avatar
+0 forum 0

Hi, I have an app created in Borland Builder 6, on Win 7, but I tested it on Win XP, and font's size changed, some forms resized... This guy has explained the problem >> [url]http://www.tek-tips.com/viewthread.cfm?qid=1668509[/url] Anyone experienced with this?

Member Avatar
+0 forum 0

Hi, I need to create 39 images in Borland and set what will they do if you click on them. It'd be really long time to create all these using classic method ( adding images, and setting OnClick option ). But I figured out how to insert so many bitmaps: [CODE]TBitmap BmpMercedes[39]; int i=1,width=20; char Name[6]; try{ for(i;i<3;++i){ Name[0]=i+48; Name[1]='.'; Name[2]='b'; Name[3]='m'; Name[4]='p'; Name[5]='\0'; ShowMessage(Name); BmpMercedes[i].LoadFromFile(Name); Canvas->Draw(width,20,BmpMercedes); width+=50; } } catch(int e){}; }[/CODE] But I have no clue how to make it "sensitive" on click? Any possible way? Thanks a lot.

Member Avatar
+0 forum 0

Hi, I am creating the game which has a lot of images which present buttons and their different "surfaces" which depend of cursor ( move over it, click, mouse up... ). It's really boring to add so many options, to make the button look like Vista-style, so is there any way to just simply change location from where image is loaded, for example: [ICODE]D:\Somefolder\Image.jpg[/ICODE], and then change location to [ICODE]D:\Somefolder\Image1.jpg[/ICODE]. It'd be far easier since I wouldn't write codes for every image. Thanks.

Member Avatar
+0 forum 0

Hi, Is there any way to add specific location for images in Borland C++ Builder? For example, I have background image, but I want it to be in root folder, together with exe file (reason: I want to make it accessible for users, who has no access to the source code ) so if someone changes the image in folder, it gets changed in program too ( like modding 3D games ). Besides I can't set a specific location in HDD, I noticed BCB doesn't even need concrete image in HDD, as if it was saving it somewhere also and …

Member Avatar
+0 forum 0

The End.