News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

grab teh powerdvd time to my prog

Started by ragdog, November 06, 2006, 06:32:16 PM

Previous topic - Next topic

ragdog

h @all

can theirs help me? i will grab the powerdvdtime to my prog
with findwindow function.


thanks in forward
ragdog

[attachment deleted by admin]

Merrick

??

(We need a little icon of a dude scratching his head in confusion)

Tedd

if it shows the time in the titlebar, then you can use findwindow using the classname of the window (which you'll need to find out.)
Then using GetWindowText will get you the titlebar string, and you can parse the time out of that.

If not... then you're in for some difficulty :lol
No snowflake in an avalanche feels responsible.

donkey

I have looked at PowerDVD for other reasons but it is exceeding difficult to extract information from it, since the main window is simply a skin without any actual window controls I wasn't able to send messages directly to a particular control. I am still working on a solution and I will post it if I can find one.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

hutch--

You can get the handles for PowerDVD by enumerating windows and this may give you an entry into other child windows by trying out enumerating the child windows.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

donkey

Quote from: hutch-- on November 08, 2006, 02:11:48 AM
You can get the handles for PowerDVD by enumerating windows and this may give you an entry into other child windows by trying out enumerating the child windows.

Hi Hutch,

The PowerDVD main window cannot be enumerated, it is simply a skin so there are no controls actually on the window, at least WinSpy can find no child windows and EnumChildWindows draws a similar blank. I am currently reading a technical paper that Cyberlink was kind enough to send me and hope to get to the root of my problem that way. For myself it is simply a question of managing the player with another program, something I have obtained permission to do. I want to be able to control the DVD player using an IR remote control from Hauppauge. But I believe that my research will overlap the problem in this thread.

"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

Tedd

Check what the various dlls used are. I presume it's designed in such a way that one will take care of the skinning/interface, while another does the command/control, and others for decoding, etc.
So, all you need to do (as if it were that simple :lol) is use the appropriate dll(s) to gain the same control.
No snowflake in an avalanche feels responsible.