Answer Questions
nglow What's gimage.addImageObject for?
I know gbackground.addImageObject, but what is gimage.addImageObject for I tried it, but seems no effect (though no error). There's a lot of errors in the MSDN documentation, such as missing Gadget events for visibility, and errors on System.Shell.chooseFile, System.Shell.knownFolder and System.Shell.knownFolderPath. Someone at MS needs to kick whoever maintains the MSDN documentation into action, the documentation needs an audit. Perhaps I should maintain a "known documentation errors" page You're right, and I was mistaken. addImageObject and removeObjects exist only on <g:background>. I thought both addImageObject and removeObjects were supported for gI ...Show All
The Other Bill HDi Debug and VS2005
Anyone have any luck getting the VS2005 debugger to work with HDi Sim Basically I want to be able to step through the jscript. Don't see why it wouldn't. The nice thing about using the VS debugger (in addition to stepping through code) is it gives you access to the HD-DVD script APIs in a nice dialogue box that you can explore. You can debug JS code use following command: "<Path to HDiSim directory>\HDiSim.exe" -p "<Path to you XPL file>\VPLST000.XPL" -jit I use BAT file for it. will the 90-day VS 2005 trial work AWESOME. I just took a screenshot of the future of HD-DVD development! Thank you Andy Pennell you are my new Peter Torr! ...Show All
FernandoLeite css behavior support?
I am trying to use css behaviors in my gadget, they don't seem to be working, are behaviors not supported http://msdn.microsoft.com/workshop/author/behaviors/overview.asp Thanks! Wow, no one knows anything about this Am I the only person who has tried to use behaviors in a gadget Amazing! This should work. I've used VML and Time in gadget's - both behaviors, but not for CSS. If you provide some code of how your trying to implement I'll see if I can help. ...Show All
computerology Playing sounds from markup
How would one go about playing sounds in markup Specifically, I want to trigger audio from a focused state without passing an event to script. I understand that I can create a wav object, but how is the object sent to Player.audio.effect in markup Thanks! You can find answer in the thread: "Correct Time Code" at the end by Jeff Williams. It looks like a bug in HDi simulator as it can play an effect sound without this setting. Audio is played by setting the style:display attribute to "auto" . When it is "none" , the sound will not play. So you have something like: < object id = " MenuSound " type = " ...Show All
Pavel Morozov How to programetically select "High Defination Audio device" in Windows Vista Sound property?
Hi, I am working on sound property for Windows Vista. In windows vista if i right click on the sound icon on the task bar and select property from menu then property sheet for sound device opens. In the second tab of that property sheet all the "High Defination Audio" devices(eg. Speaker,Mic,Digital sound etc.) are displays. My question is that i want to select audio device programttically, by using registry or any Windows API or any other way which is possible. How can i do this Any one can help me please. Hi Larry, Thank you for your help, but i want to implement this any how. So if you find the way to do this then please replay me. ...Show All
mmmr [stupid noob] Why I can't make a border?
Hello, I know this is more than stupid, but after ~2 hour I give up, why I can't set a border with CSS body { width:130px; height:100px; margin: 0px; border: solid 2px red; } I have play around with the margin values, padding values, top, left, right, bottom, position,... Now I am completle confused, why all of my trials not produce a border around the gadget, can someone post the correct code I never get the right and bottom part from the border to show. :/ Peter Thanks for your answer, yes I think someone with more HTML/CSS experience should take a look at this, for me the border inside the body should work.... after some hours, I use now the following code: body { width:130px; height:10 ...Show All
stombiztalker JScript
Hello, I am brand-new to HD DVD authoring so apologies if this is an obvious question. I'm coming from the web development world, and am looking to port several items of "bonus content" from the web onto HD DVD. More specifically, there are several simple applications (mostly games) that I have written in JScript that I would like to repurpose for distribution on disc. But what I have not found is any reference as to what elements of JScript are compatible with HD DVD interactivity. Obviously the browser-based objects (window object, etc.) are N/A, but are there are also specific data types, variables, operators, objects, etc. that are not supported If there's a tut or reference on this anywhere, that would be great. Thank ...Show All
nagajim Att MS gadget men: note 1.0.0.0
Hi, like the small set of pre-loaded gadgets that come with Vista, but can't find 'Note' gadget on the gadget website. I would like to suggest a v2 feature: It would be great if the note gadget synced online to e.g. Hotmail note widget so that my PC would not have to remain on if I wanted to stream via rss the notes to my mobile. Because that's it isn't it -- no paper. For that I see the note gadget on the sidebar synching all new note online and in turn that being accessed by a mobile phone, also any notes made online sync back to the desktop gadget. I know it'll never happen but if you think about it that is what should happen. Samuel, UK I've never been a big fan of auto-scrolling but it would be nice if there was even some kin ...Show All
MartinMalek Markup Performance
I wrote a complete menu (including scrolling chapter menu with rotating images) in pure markup. The XMU file has in total about 1500 lines. Unfortunately I notice that it runs quite slow on HDiSim and in Players. Are 1500 lines too much for xmu Meanwhile I found the reason for my markup being so slow. Wasn't the 1500 lines. It were just two little <style select="//button" ...> statements ;-) I fixed it and now it looks very fluent and nice. They SHOULD have the same performance, but they don't due to implementation on the Toshiba player. This isn't a spec issue, its just a suggestion from real world experience with their DOM parser :) It w ...Show All
MarcoB hello!! problem with web sidebar gadget
Hello, im new to ur forum. I'm working on a very simple gadget, but i have problem with the flyout and with showing a web site in it. Can anyone tell me how i show a wesite within the flyout box. Thank you very much. emepvsd wrote: No text shown either.... Cannot undetsand why. When i remove the <g: ... > command line, the text is shown. But,when I click on the "Show" text label, something appears, but its to small and "covered" by the gadget. Maybe we have to change the flyout left value i now found why. the "height" of the gadget must be at least 120: <html> <head> <script type="text/javascript"> var url; function setupgadget() { machname.innerHTML = ...Show All
cvajre Using IMFMixerBitmap
I have a DirectShow application that uses the VMR's IVMRMixerBitmap interface to blend a bitmap with a video. Before using it I understand you have to call IVMRFilterConfig's SetNumberOfStreams method to put the VMR into the correct state, and so far it works fine :) So now I'm trying to use Media Foundation and I've found corresponding interfaces such as IEVRFilterConfig and IMFMixerBitmap. Is the operation of these fairly similar ie. do I need to call IEVRFilterConfig's SetNumberOfStreams() before I can use IMFMixerBitmap I've been trying to do this and using IMFGetService's GetService() to try and get the IMFMixerBitmap interface afterwards but without much success - I keep getting a return code of 0xc00d36ba.. Is there anythin ...Show All
kapeed Sidebar Always on Top after loading
Just an observation, but if you exit Sidebar and then reload it. It goes into "Always On Top" mode until you've clicked on its transparent background! Thanks, I'll set up a repro and file a bug. Sorry, it's a bit more complicated than I first realised. Using the Clock as an example 1. Detach it from Sidebar 2. Set it to "Always on Top" 3. Attach back to Sidebar 4. Exit Sidebar 5. Load Sidebar The Clock now remains "Always on Top" until you click on the Sidebar transparent background. If you want some real quirky behavour: 1. Remove all Gadget from Sidebar 2. Add Clock and my Media Player 3. Detach them both from Sidebar 4. Expand Media Play ...Show All
CharlieRussell Can't set Focus
Hello Guys, I am new to iHD and just started to write some iHD code. Now I arrived at the first problem: <div id="main"> <div id="some_other_div_already_with_buttons" style:display="auto"> <!-- here are already some buttons --> </div> <div id="surrounding_div" style:display="none"> <button id="button" /> </div> </div> Now I want to set the button to visible and set the focus on it: document.getElementById("surrounding_div").style.display="auto"; document.getElementById("button").state.focused="true"; document.getElementById("button").state.unsetProperty(" ...Show All
une Media Foundation Blog
Is there any Media Foundation Team blog. Or maybe individuals blogging about it. I have been doing quite a bit of development using it and it would just be fun to read about what is coming up and what not. Marc Hi Marc, Thanks for suggestion but unfortunately there isnt one right now. I very much want to start one but I am holding back just because we are in the final stages of Vista. I will definitely post a message here when we start one! Thanks, Prakash Channagiri ...Show All
AlucardHellSing System.Shell.ChooseFile(..)
Hi all I used System.Shell.ChooseFile(..) and the open dialog is opened, but i need to get the path that was chosen so i used System.Shell.Item.Path but it didn't work, any help var oItem = System.Shell.chooseFile(true, "All Files:*.*::", "", ""); var filePath = oItem.path; ...Show All
