Results 1 to 10 of 10

Thread: Which control is that

  1. #1

    Thread Starter
    Fanatic Member vbPoet's Avatar
    Join Date
    Feb 2005
    Location
    Searching ..
    Posts
    669

    Which control is that

    If possible anyone can tell me what is the name of this control ...
    Attached Images Attached Images  

  2. #2

    Thread Starter
    Fanatic Member vbPoet's Avatar
    Join Date
    Feb 2005
    Location
    Searching ..
    Posts
    669

    Re: Which control is that

    If it is SSTAB then ... how on top these buttons,images are made so colorful...
    Attached Images Attached Images  

  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Which control is that

    It looks pretty much like an SSTab but it's impossible to say from just viewing a picture. What you can do is to launch Spy++ and use that to check the class name of the control.

  4. #4
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Which control is that

    You will probably find that the tabs are just picture box's that are coded to act like tabs. That way you can make them look like whatever you like.
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  5. #5

    Thread Starter
    Fanatic Member vbPoet's Avatar
    Join Date
    Feb 2005
    Location
    Searching ..
    Posts
    669

    Re: Which control is that

    Quote Originally Posted by Joacim Andersson
    It looks pretty much like an SSTab but it's impossible to say from just viewing a picture. What you can do is to launch Spy++ and use that to check the class name of the control.

    Joacim i have just executable not any source .... so i think spy ++ will not work..

    David.Poundall how picture boxes can be coded to work like that do u have any example...?

  6. #6
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Which control is that

    Look at the attachment I posted in this topic:http://www.vbforums.com/showthread.php?t=309279

  7. #7
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Which control is that

    Spy++ works with any window regardless if it's a compiled file or not. You can also have a look at my Control Finder project posted in the Code Bank. Just run the project and drag the magnifying glass icon to this tab control and it will show you the class name.

  8. #8

    Thread Starter
    Fanatic Member vbPoet's Avatar
    Join Date
    Feb 2005
    Location
    Searching ..
    Posts
    669

    Re: Which control is that

    Joacim your program is very efficient displaying information about every control.
    But when i drag magnifier to that problem area , it made focus to form.
    So it didn't told me whether it is Tab Control or PictureBox.
    But i m now sure that it is not tab control .Bcoz if it would be tab control then right below to it will not be frames.But in case there are frames.

    So what is it if not Tab Control , y it didn't make focus to it...

  9. #9
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Which control is that

    If my project can't get the handle of the control then it isn't a control, or it might be a lightweight control which is practically the same thing as no control. It must be drawn directly on the form.

    But what do you mean by "there can be no frames"? Of course you can put frames on a tab in a SSTab control.

    EDIT: BTW, did you drag the magnifying class directly to the tabs at the top? Since it looks like the tabs might not cover the whole Form but just the top part of it.
    Last edited by Joacim Andersson; May 8th, 2005 at 07:47 AM.

  10. #10
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Which control is that

    Quote Originally Posted by vbPoet
    Joacim your program is very efficient displaying information about every control.
    But when i drag magnifier to that problem area , it made focus to form.
    So it didn't told me whether it is Tab Control or PictureBox.
    But i m now sure that it is not tab control .Bcoz if it would be tab control then right below to it will not be frames.But in case there are frames.

    So what is it if not Tab Control , y it didn't make focus to it...
    Did you check out the code from the topic I posted?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width