Results 1 to 6 of 6

Thread: VB: DX CLIPPER over window

Threaded View

  1. #1

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    174

    Resolved VB: DX CLIPPER over window

    previous topic:
    http://vbforums.com/showthread.php?p=1872279

    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:


    and here is my projectstill feel bad posting this )
    Last edited by _visual_basic_; Dec 25th, 2004 at 03:35 PM.

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