This was my mistake. I forgot that I was also using SetLayeredWindowAttributes for transparency. After I removed that, a single Call is all that was necessary:
SetWindowPos Me.hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE Or SWP_SHOWWINDOW Or SWP_NOMOVE Or SWP_NOSIZE
working fine now.
Yes I read the forum. Well anyhow both DO _EXACTLY_ what I was planning on doing.
BTW You also get the effect with some other programs, the Trillian popup windows f.e., show through in some games.
There's also the Generic Proxy DLL approach but that doesn't seem to work for me, plus there's...
No I didn't write it :( But I know it can be done because these two programs do exactly that:
http://tsdisp.sourceforge.net/
http://www.qbnut.com/tso/
They work with many games.
TSO just displays text, which is what I want to do. TSDisplay uses a form, I don't even want that.
What do I need to do to make my Form always on top, even when a DirectX Application (Game) is running? When I use SetWindowPos then my Form flickers and is barely readable.
Thanks for your replies, but I don't want to use the Datepicker or linked Dropdowns - that's totally unnecessary.
There must be a nice .NET way to convert a string from a textbox into native SQL server format, provided it can be converted to a valid date?
No this was just for testing, the finished version will use Stored Procedures. I'm not interested in how the data is displayed right now, this is just for entering dates and I think you're right I should store them in native format (I think that's ISO) - so how can I convert a string into an USA...
I'm pretty frustrated here, been trying this for days...
All I want is for german users to be able to enter dates that should be stored in SQL Server. The dates are in the following format "dd.mm.yyyy". I always get error messages like this one: Syntax error in date in query expression...
(Sorry I posted this also in the dll section)
How can I find out from within my dll, the name of the
Program that called it? (the window caption, not the .exe name)
Say I have two programs that call my dll. What I want to
happen is that when I click a button on Program 1, the
dll pops up a...
How can I find out from within my dll, the name of the
Program that called it? (the window caption, not the .exe name)
Say I have two programs that call my dll. What I want to
happen is that when I click a button on Program 1, the
dll pops up a MsgBox saying "Program 1", and when I...
I don't think that's possible without added hardware.
Anyway have a look at Karl E. Peterson's high-resolution
timer replacement for VB
http://www.mvps.org/ccrp/download/ccrpdownloads.htm
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.