Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: Chriso on December 03, 2006, 09:29 PM

Title: VB6 - SysTabControl32
Post by: Chriso on December 03, 2006, 09:29 PM
I need to know how to switch between tabs possibly by using SendMessage

I have figured out how to get the SysTabControl's handle as follows:


Dim lngSysTab as Long
lngSysTab = FindWindowEx(lngPropWnd, 0, "SysTabControl32", vbNullString)


I now need to be able to set the controls tab index to 2.

Thanks

PS: Also my ISP blocks microsoft sites for some reason so please don't redirect to MSDN in response
Title: Re: VB6 - SysTabControl32
Post by: UserLoser on December 03, 2006, 09:46 PM
Quote from: DDA-TriCk-E on December 03, 2006, 09:29 PM
I need to know how to switch between tabs possibly by using SendMessage

I have figured out how to get the SysTabControl's handle as follows:


Dim lngSysTab as Long
lngSysTab = FindWindowEx(lngPropWnd, 0, "SysTabControl32", vbNullString)


I now need to be able to set the controls tab index to 2.

Thanks

PS: Also my ISP blocks microsoft sites for some reason so please don't redirect to MSDN in response

Maybe you have a virus blocking Microsoft's sites.  ISP blocking Microsoft isn't realistic
Title: Re: VB6 - SysTabControl32
Post by: Chriso on December 04, 2006, 12:06 AM
The ISP I am on is only meant for checking E-mails and stuff, its just university internet.
I have a download limit of 150mb/month, it's really annoying.
Title: Re: VB6 - SysTabControl32
Post by: topaz on December 04, 2006, 12:09 AM
Quote from: DDA-TriCk-E on December 04, 2006, 12:06 AM
The ISP I am on is only meant for checking E-mails and stuff, its just university internet.
I have a download limit of 150mb/month, it's really annoying.

But why would they block Microsoft websites? Windows Update?
Title: Re: VB6 - SysTabControl32
Post by: Ersan on December 04, 2006, 01:31 AM
These responses are completely irrelevant.

Including this one, but I figure pointing out irrelevance is more relevant than the irrelevance that it's pointing out.

I mean if you can't help, why do you bother replying (this logic not subject to this post)
Title: Re: VB6 - SysTabControl32
Post by: l2k-Shadow on December 04, 2006, 09:04 AM
is SysTabControl32 the default tab control? cause i'm using FindWindowEx on the hwnd of the prog to find SysTabControl32 and it's returning 0.