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 | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

