Results 1 to 9 of 9

Thread: can you make a forum..smaller and bigger..smaller and bigger..ect

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2002
    Posts
    6

    can you make a forum..smaller and bigger..smaller and bigger..ect

    just going in and out...
    in and out..
    -thanks

  2. #2
    PowerPoster
    Join Date
    Aug 2002
    Location
    NY, NY
    Posts
    2,139
    ?????????????????????????????????
    Roy

  3. #3
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    VB Code:
    1. Option Explicit
    2. 'Needs  1 command button
    3. Private Const QS_HOTKEY = &H80
    4. Private Const QS_KEY = &H1
    5. Private Const QS_MOUSEBUTTON = &H4
    6. Private Const QS_MOUSEMOVE = &H2
    7. Private Const QS_PAINT = &H20
    8. Private Const QS_POSTMESSAGE = &H8
    9. Private Const QS_SENDMESSAGE = &H40
    10. Private Const QS_TIMER = &H10
    11. Private Const QS_ALLPOSTMESSAGE = &H100
    12. Private Const QS_MOUSE = (QS_MOUSEMOVE Or QS_MOUSEBUTTON)
    13. Private Const QS_INPUT = (QS_MOUSE Or QS_KEY)
    14. Private Const QS_ALLEVENTS = (QS_INPUT Or QS_POSTMESSAGE Or QS_TIMER Or QS_PAINT Or QS_HOTKEY)
    15. Private Const QS_ALLINPUT = (QS_SENDMESSAGE Or QS_PAINT Or QS_TIMER Or QS_POSTMESSAGE Or QS_MOUSEBUTTON Or QS_MOUSEMOVE Or QS_HOTKEY Or QS_KEY)
    16.  
    17. Private Declare Function GetQueueStatus Lib "user32" (ByVal fuFlags As Long) As Long
    18.  
    19. Private Sub Command1_Click()
    20. Me.WindowState = vbMaximized
    21.  
    22. Dim lngHeight As Long, lngWidth As Long
    23. Dim intTop As Integer, intLeft As Integer
    24.  
    25. With Me
    26.     lngHeight = .Height
    27.     lngWidth = .Width
    28.     intTop = .Top
    29.     intLeft = .Left     'SAVE LOCATION AND SIZE
    30.    
    31.     Dim dbleRatio As Double ' get the ratio of width to height
    32.     dbleRatio = Me.Height / Me.Width
    33.    
    34.     .WindowState = vbNormal
    35.    
    36.     .Height = lngHeight
    37.     .Width = lngWidth
    38.     .Top = intTop
    39.     .Left = intLeft
    40. End With
    41.  
    42. Call MsgBox("Press OK to start")
    43.  
    44. With Me
    45.     For intTop = lngWidth To 0 Step -100
    46.         If GetQueueStatus(QS_ALLINPUT) Then DoEvents
    47.        
    48.         .Width = intTop
    49.         .Height = intTop * dbleRatio
    50.         .Refresh
    51.        
    52.     Next intTop
    53.    
    54.     For intTop = 0 To lngHeight Step 100
    55.         If GetQueueStatus(QS_ALLEVENTS) Then DoEvents
    56.        
    57.         .Width = intTop
    58.         .Height = intTop * dbleRatio
    59.         .Refresh
    60.        
    61.     Next intTop
    62. End With
    63.  
    64. End Sub

    something like this...
    Please rate my post.

  4. #4
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    I think I read the post wrong.
    Please rate my post.

  5. #5
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    No... it could be a typo.
    Don't Rate my posts.

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    You can resize your browser window, and it becomes smaller.

    Or are you talking about the number of posts per page? Go to user CP and reduce the number of posts shown per page.

    Or is "in and out" some sort of a slang reference i don't know about?

  7. #7
    Hyperactive Member
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    280
    can you make a forum..smaller and bigger..smaller and bigger..ect
    yes... its very addictive too
    OrdinaryGuy

  8. #8
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033
    VB Code:
    1. MsgBox "What the hell?"
    I'm bringing geeky back...

  9. #9
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    I'm guessing he means a form (in VB), instead of a forum.
    K i n g s

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