How to conditionally checking for ID or sequence number
Keywords: cWndExist
Question:
Any way of conditionally checking for ID or sequence number in a window?Standard way - must know correct window:
pHwnd=DllHwnd("AutoSave") statHwnd=cWndbyId(pHwnd,65535);assuming id is 65535 txt=cWndInfo( statHwnd, 0) ;returns title of controlI want: check if window contain certain ID or sequence number;pHwnd=DllHwnd("AutoSave") if cWndbyId?(pHwnd,65535) ; check if window has id 65535 statHwnd=cWndbyId(pHwnd,65535) ; got the bum txt=cWndInfo( statHwnd, 0) ;returns title of control else ;try next "AutoSave" window that comes along ;this app creates several windows all with same title!Answer:
I think the current version of the extender have a cWndExist function to check for windows.
Article ID: W14178Filename: Conditionally Checking for ID or Sequence Number.txt