Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: cSetTabItem cWndInfo tabbed dialogs
Sample code to select a specific tab.
AddExtender( 'wwctl44i.dll' ) Run( 'rundll32.exe', 'shell32.dll,Control_RunDLL mmsys.cpl' ) title = 'Sounds and Audio Devices Properties' ret = WinWaitExist( title, 5 ) If ret == 0 Message( 'Notice', 'Window Not Found: ': title) Exit EndIf ; select the third tab parenthwnd = DllHwnd( title ) systabwnd = cWndbyclass( parenthwnd, 'SysTabControl32' ) cSetTabItem( systabwnd, 3 ) ; confirm correct tab audiohwnd = cWndbyseq( parenthwnd, 1 ) thistitle = cWndinfo( audiohwnd, 0 ) If thistitle != 'Audio' Message( 'Error', 'Incorrect tab title' ) Exit EndIf
Article ID: W12519
Filename: Tabbed Dialogs.txt
File Created: 2010:01:07:10:42:46
Last Updated: 2010:01:07:10:42:46