Hi all, can any body help me in this problem..

i want to use the windows API EnumChildWindows to enumurate all the child windows for a given window handel As follwow ..

client static Boolean EnumChildWindows(int _hwndParent, int _lpEnumFunc, int _lParam)
{
    DLL         _winApiDLL        = new DLL(#USERDLL);
    DLLFunction _EnumChildWindows = new DLLFunction(_winApiDLL, 'EnumChildWindows');

    _EnumChildWindows.returns(ExtTypes::DWord);
    _EnumChildWindows.arg(ExtTypes::DWord,   // the parent window handel
                          ExtTypes::Pointer, // a pointer for the callback function
                          ExtTypes::DWord);  // a value to be passed to the callback function


    return (_EnumChildWindows.call(_hwndParent, _lpEnumFunc, _lParam));
}

the callback function may be as follow...

Void CallBackFunc(int HWnd, int lparam)
{
     // any code using the passed window handel and the lpParam
}

Now i want to call the EnumChildWindows function like that

WinAPI::EnumChildWindows(WindowHandel, [the pointer of the callback function], 0)

how can get the address of the callback function?!!


           
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to