Post

 Resources 

Console

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

 All Forums
 VBGamer
 VBGamer
 Always on top OVER a fullscreen app???

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
shump Posted - Jan 13 2005 : 4:15:55 PM
I've search your forums and i only find the opposite of this problem, but Im trying to make a form that sits on top of a fullscreen app..

  
Private Declare Function SetWindowPos Lib "user32" _  
(ByVal hwnd As Long, ByVal hWndInsertAfter As Long, _  
ByVal X As Long, ByVal Y As Long, ByVal cx As Long, _  
ByVal cy As Long, ByVal wFlags As Long) As Long
  
Const SWP_NOMOVE = 2  
Const SWP_NOSIZE = 1  
Const FLAGS = SWP_NOMOVE Or SWP_NOSIZE  
Const HWND_TOPMOST = -1  
Const HWND_NOTOPMOST = -2  
  
Private Sub Form_Load()  
Timer1.Enabled = True
End Sub
  
Private Sub Timer1_Timer()  
Dim result As Long
result = SetWindowPos(Form1.hwnd, HWND_TOPMOST, 0, 0, 0, 0, FLAGS)  
End Sub
  


yadda yadda.
Any help will be most appriciated.

What its for: To display Boss Counters (F5-F8) for newbies who play HostileSpace.


-Nex
4   L A T E S T    R E P L I E S    (Newest First)
cbx Posted - Jan 15 2005 : 06:57:26 AM
I think I found what you are looking for. But just like you I thought it could be done in D3D as well, unfortunatly it can only be done in fullscreen directdraw.

http://sdks.icarusindie.com:2004/index.php?sortby=title&dir=sdks%2Fdirectx+8.1%2FDXF%2FDXSDK%2Fsamples%2FMultimedia%2FDirectDraw%2FFullScreenDialog%2F

http://www.icarusindie.com/
VBStrider Posted - Jan 13 2005 : 4:45:50 PM
If you are using DirectX, simply assign a clipper to the primary surface and you will be able to see any controls you put on it/other forms.

I'm not sure if this is what you wanted though :/

EDIT:
Nevermind, that was obviously not what you ment.

VBStrider
shump Posted - Jan 13 2005 : 4:45:18 PM
>.< there has to be a way it's been done before i had a prgram once that did exactly that.
Eric Coleman Posted - Jan 13 2005 : 4:44:11 PM
It's not possible. The reason for making a game "full screen" is to gain exclusive access to the video card, which prevents background programs such as yours from overlaying graphics.

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

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