Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

I redid Lostica's ENTIRE Gui Style…


mrmiguu
 Share

Recommended Posts

Tell me what you guys think? (I was inspired by Leaf[Zach])

![](http://i2.photobucket.com/albums/y23/Alexanderthegreat91/Lostica_GUI.png)

(p.s. I also want to know how to make it so the scroll bars for the RichTextBox can be made custom, the default Windows ones are butt ugly!)
Link to comment
Share on other sites

I use this code for the custom scroll:

Option Explicit

Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wparam As Long, lParam As Any) As Long
Private Const EM_SCROLL As Long = &HB5
Private Const EM_GETLINECOUNT As Long = &HBA
Private Const EM_LINESCROLL = &HB6

Dim PSP As Integer
______________________________________________________
Private Sub VScroll1_Change()
VScroll1_Scroll
End Sub
______________________________________________________
Private Sub VScroll1_Scroll()
    Dim l As Long
    Dim i
    With txtChat

        If VScroll1.Value > PSP Then
            For i = PSP + 1 To VScroll1.Value
                    l = SendMessage(.hWnd, EM_SCROLL, 1, 0)
            Next i
        ElseIf VScroll1.Value < PSP Then
            For i = VScroll1.Value + 1 To PSP
                l = SendMessage(.hWnd, EM_SCROLL, 0, 1)
            Next i
        End If

        PSP = VScroll1.Value

    End With
End Sub
_________________________________________________

VScroll1 is a custom scrollbar i found on planetsourcecode.com, it has picture support and is very nice. All you have to do is disable the scrollbar on the richtextbox, find (or make) a custom scrollbar, put the code in the scroll and change subs and your good to go.
Link to comment
Share on other sites

@Leaf:

> link=topic=43045.msg431555#msg431555 date=1240326732]
> There's a lot of empty space, and I mean A LOT. And also things aren't evenly spaced, which bugs me, lol.

SideScrolls need alot of room.

And I think it looks awesome,very good job  :cheesy:

Kite
Link to comment
Share on other sites

@Tsukasa:

> I meant the GUI too.

Oh, I suppose. I think the only reason he was so critical of my design was because he realized it was **fairly** decent and it was more of a subtle gesture towards telling me "good job, but you still have a lot to do". Just put into more strict context.
Link to comment
Share on other sites

@Tsukasa:

> I have a question,is it click to move?
> And I saw one video of jumping up and landing on a higher ground lvl is that true?

Not atm. I was using the **Ninja Story** engine when I made that video. And to answer your question, no. Click is not used for movement, that would be silly.
Link to comment
Share on other sites

@[ILLI:

> BlahBlah[DDunit] link=topic=43045.msg434428#msg434428 date=1240623646]
> Very nice! Although where did the quick slots go ;0

I moved them because I wanted to show the whole screen, I'll re-add them once I configure a nice GUI for them.
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...