Veratil
asked on
Pass RECT to LPARAM in EnumWindows
I know I'm just missing something, but I'm trying to pass a RECT structure to LPARAM in the EnumWindows function. When I pass a reference to it, for some reason when I try to get the RECT structure again, it doesn't have the right values. I just need a little help getting the structure properly.
Here's how I'm calling EnumWindows:
EnumWindows((WNDENUMPROC)E numWndProc , (LPARAM)&r);
Now, I can really remember how to get the value from LPARAM into a RECT. Just a simple code example is all I need.
Thanks to anyone who helps. =)
Here's how I'm calling EnumWindows:
EnumWindows((WNDENUMPROC)E
Now, I can really remember how to get the value from LPARAM into a RECT. Just a simple code example is all I need.
Thanks to anyone who helps. =)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER