Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: cWndExist
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!
Article ID: W14178
Filename: Conditionally Checking for ID or Sequence Number.txt
File Created: 2001:01:08:12:15:18
Last Updated: 2001:01:08:12:15:18