Results 1 to 10 of 10

Thread: map problem URGENT

  1. #1

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    174

    Resolved map problem URGENT

    hey folks

    i have some problems with my map. using dx to draw it inside a window.
    but whenever i put a form over my map the map draws over a form

    i have search the forums and i came up with this code:

    Code:
    Private Sub Display_Paint()
        If StrMatch(ActiveControl.Name, Display.Name) Then
            Call DrawMap(Map) 'drawmap works perfectly
        End If
    End Sub
    
    Public Function StrMatch(Str1 As String, Str2 As String) As Boolean
        If LenB(Str1) = LenB(Str2) Then
            If InStr(1, Str1, Str2, vbTextCompare) Then
                Let StrMatch = True
            End If
        End If
    End Function
    and it dint work

    here is the screenshot:
    Last edited by _visual_basic_; Dec 25th, 2004 at 03:37 PM.

  2. #2

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    174

    Re: map problem URGENT

    anyone want to take a look please

  3. #3
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: map problem URGENT

    Quote Originally Posted by _visual_basic_
    anyone want to take a look please
    sure post it i'll take a look,

    are you using full screen mode? or windowed?
    Last edited by Pino; Dec 25th, 2004 at 12:55 PM.

  4. #4

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    174

    Re: map problem URGENT

    sory im not going to post my project.

    i posted whats wrong and the code thats enough to take the problem from.
    if you need more code snippets ask

  5. #5
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: map problem URGENT

    Quote Originally Posted by _visual_basic_
    ... i posted whats wrong and the code thats enough to take the problem from. ...
    Then you might be waiting for some answers for a long time, tough.

  6. #6

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    174

    Re: map problem URGENT

    Quote Originally Posted by RhinoBull
    Then you might be waiting for some answers for a long time, tough.
    why is that???

  7. #7

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    174

    Re: map problem URGENT

    i help poeple
    but no one help me?

  8. #8

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    174

    Re: map problem URGENT

    Quote Originally Posted by Pino
    sure post it i'll take a look,

    are you using full screen mode? or windowed?
    look at the screeenshot its windowed, with a clipper

  9. #9
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: map problem URGENT

    I happen to be one of the DirectX experts here on VBForums. It would help a lot if you uploaded your project so I can help you. Also you won't get much help with this problem in the Classic Visual Basic section on VBForums because 99% of those people never used or hardly ever used DirectX. The Games and Graphics Programming section on the other hand you will get help because besides me, people like Halsafar, NoteMe, and Electroman just to name a few are experts at DirectX. So you can post the same question in there with an upload of your project as well as an upload here if you want.

  10. #10

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    174

    Re: map problem URGENT


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