Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 DirectX Overlap

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
Crash Posted - Feb 18 2005 : 11:31:23 PM
I made a Game using that relies on DirectX, and i made a helper type program that is just a form in visual basic that contains an image an no more.
I have put in some code that will put my program on top of everything, however, DirectX fullscreen objects apparently place themselves ontop thus overlapping my program. To counter this i have attached a timer that "re-puts" my program on top. This has worked however, when you try to click on the image (not game, picture) the game minimizes. Is there anything i can do to prevent this?
Also, is there a more efficeint way of placing my control?
8   L A T E S T    R E P L I E S    (Newest First)
Crash Posted - Mar 10 2005 : 3:16:57 PM
Please contact me through AIM.
AIM SN : BORN L3ET
MSN SN : omar.alkurd@gmail.com
ct_techno Posted - Mar 10 2005 : 11:32:36 AM
hi crash ... i am doing the same project for my exams and i am in urgent need of the exact ... details u have created man.. can u pls help me and send me the code da .

I wont forget it man .. Pls help....I know u will send it..


Urgent need help !!!
Crash Posted - Feb 22 2005 : 3:26:02 PM
The program does not support windowed mode, and i do not intend to implement it in order to prevent people from tyrying to make their own programs.
In order to put the program on top of directX take the code that your using to put the window on top (its similar to mine) and make a timer, throw the Always On Top function in the timer and have the timer set at like 500ms.
Another way, possibly more efficient would be to research Global Hotkeys - If you cant find anything then i will put it down here. And set the Stay On Top function to a HotKey, when your program goes under the game which i am guessing only happens once which is when the game starts up (a new instance of On Top overrides the older one - Z-Ordering) you push the hotkey and are good because now your program has the newest instance of the on top function.
If i were using C++ or Assembly this would be SOOOOOO easy =X.
Eric Coleman Posted - Feb 22 2005 : 11:57:15 AM
Use Windowed mode instead of Fullscreen mode for the directx program.
Catatonic Posted - Feb 22 2005 : 02:23:04 AM
Hi Crash,

I really don't know if what you want to acomplish is possible. Someone told me that it might be possible to use a proxy dll to display images ontop of directx, I'm not sure it works in VB though. Maye it's worth some research? Look here: http://www.proxy.mikoweb.de/.

Do you mind telling me how you put that image ontop of a directx? It would help me alot.

Thanks in advance.
Crash Posted - Feb 21 2005 : 7:13:17 PM
Yours, i can make work IF you do not need to 'touch' the program. What i mean by this is that my current method shows it on top however the directX Game will minimize when you click on the program (you can mouse over it though). If anyone reads this then please tell me how to use the setFocus command, thank you.
Catatonic Posted - Feb 21 2005 : 10:29:39 AM
Hi, I am trying to do the same thing with a program i am making. What code did you use to make the image on top of directx? I do not need to interact with it for my program, it will only be used to display chat messages so hopefully it would work for me.

Sorry i couldn't help you with your problem but maybe you can help with mine?

Thanks
Lachlan87 Posted - Feb 19 2005 : 07:19:04 AM
Well, you could try telling your DirectX window it should always be on top as well (but before you tell your helper window), otherwise, I really wouldn't know. I think telling it not to show up on the taskbar might work as well.

VBGamer © Go To Top Of Page
This page was generated in 0.06 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.