Couple of questions

Discussion in 'Programming General' started by Therivere, Jan 28, 2010.

Couple of questions
  1. Unread #1 - Jan 28, 2010 at 1:25 AM
  2. Therivere
    Joined:
    Jan 23, 2007
    Posts:
    209
    Referrals:
    1
    Sythe Gold:
    0

    Therivere Active Member

    Couple of questions

    I'm attempting to make my own Runescape client thing sort of like eliteswitch. Ive got alot of it set up already.

    Question 1:

    How do get my client to load up maxamized everytime when i open it?

    Question 2:

    How come the disablescrollbar thing doesnt work when im playing the game. When im at the homepage and stuff it works but for some reason when i click play now the scroll bar always shows. I have a tabfolder thing docked on the bottom and the web browser thing is docked fill.

    Thats all atm.
     
  3. Unread #2 - Jan 28, 2010 at 8:40 AM
  4. Harlem9191
    Joined:
    Mar 10, 2009
    Posts:
    81
    Referrals:
    0
    Sythe Gold:
    0

    Harlem9191 Member

    Couple of questions

    Question 1: Click on the form and set the WindowState property to Maximized.
    Question 2: Use the DocumentCompleted event and use YOURWEBBROWSER.ScrollBarsEnabled = False

    If you want it to do like SwiftKit does and just disables the scrollbars after a certain amount of time then use a timer.
     
  5. Unread #3 - Jan 28, 2010 at 12:37 PM
  6. Therivere
    Joined:
    Jan 23, 2007
    Posts:
    209
    Referrals:
    1
    Sythe Gold:
    0

    Therivere Active Member

    Couple of questions

    I did do the YOURWEBBROWSER.ScrollBarsEnable = false thing but the scrollbar is still there. My problem is that the scroll bar shows up only when i go play the game.

    What do i do with this?

    Code:
    Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
    
        End Sub
    Do u mean this

    Code:
        Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
            WebBrowser1.ScrollBarsEnabled = False
    
        End Sub
    
     
< Login Prompt Question !!! How to set specific usernames C++ | Farmville Helper >

Users viewing this thread
1 guest


 
 
Adblock breaks this site