|
-
Dec 25th, 2004, 11:22 AM
#1
Thread Starter
Banned
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.
-
Dec 25th, 2004, 12:33 PM
#2
Thread Starter
Banned
Re: map problem URGENT
anyone want to take a look please
-
Dec 25th, 2004, 12:37 PM
#3
Re: map problem URGENT
 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.
-
Dec 25th, 2004, 12:44 PM
#4
Thread Starter
Banned
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
-
Dec 25th, 2004, 01:20 PM
#5
Re: map problem URGENT
 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.
-
Dec 25th, 2004, 01:22 PM
#6
Thread Starter
Banned
Re: map problem URGENT
 Originally Posted by RhinoBull
Then you might be waiting for some answers for a long time, tough. 
why is that???
-
Dec 25th, 2004, 02:09 PM
#7
Thread Starter
Banned
Re: map problem URGENT
i help poeple
but no one help me?
-
Dec 25th, 2004, 02:13 PM
#8
Thread Starter
Banned
Re: map problem URGENT
 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
-
Dec 25th, 2004, 02:35 PM
#9
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.
-
Dec 25th, 2004, 02:42 PM
#10
Thread Starter
Banned
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|