01-26-2011 09:28 AM - edited 01-26-2011 09:32 AM
I am trying to find a way to get the current window handle using the PDA module. I need this handle to call other function via Win dll's. Has anyone done this before? Any help would be greatly appreciated (using windows mobile 6.1 and Labview PDA 8.5) Thanks
Greycat
01-27-2011 01:49 AM
Hi Greycat,
from an article a read, that windows mobile doesn't have the user32.dll, but instead of this most of the functions should be located in the core.dll. Maybe you find a function called "GetForegroundWindow" there. With this, you should be able to get the handle of the window you need.
Hope it helps.
Mike
01-27-2011 02:36 PM
Thanks Mike ...
I understand that this function does exist, but somehow I am not writing my wrapper properly or calling the function properly because everytime I build my labview app I get a "GetForegroundWindow is a missing VI or C file." - I cannot for the life of me figure this out ... what I was really asking is if anyone has succeeded calling this function and getting the Window Handle. What I really want to do is run my Labview program on the PDA in full screen mode with no title bar and no SIP button visible or accessible, but to my knowledge, that will take a function call to the aygshell.dll (namely the SHFullScreen function) and that function requires a window handle to work properly ... any more help would be appreciated ... Thanks again
Greycat