.data?
Handles LABEL DWORD ; We'll use this as a reference to locate the handles
Child1hWnd HANDLE ? ; Handle for the first child dialog
Child2hWnd HANDLE ? ; Handle for child dialog number 2
......
....
MOV EBX,WhichTabChosen ; Which is the currently selected tab?
MOV EAX,[Handles+EBX*4] ; Put in EAX its handle
INVOKE ShowWindow,EAX,SW_HIDE
...