473,396 Members | 2,017 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to create an area ontop of another area

I am writing my own little video player, using
AxMicrosoft.MediaPlayer.Interop.AxWindowsMediaPlay er, and i want to add
stats when in fullscreen.

I am able to Draw to it with GDI+, but since there's a high framerate,
it flickers...

HWND = FindWindow("WindowsForms10.Window.8.app.0.378734a" ,
null);

HWND = FindWindowEx(HWND, 0, "ATL:0754F282", null);

HWND = FindWindowEx(HWND, 0, "WMPVideoWindow", null);

System.Drawing.Graphics g =
System.Drawing.Graphics.FromHwnd(new IntPtr(HWND));

g.FillRectangle(System.Drawing.Brushes.Red, 5, 5, 50, 50);

This example draws a 50x50 red square ontop of the Fullscreen video
window.

What i would like, is

to add a surface (label, whatever) ontop of this window,
find a way to draw flicker-free to it,
or directly inject the image into the Window via Subclassing.

If anyone could help me with any of these 3, please reply...

Dec 10 '05 #1
1 1664
Anyone?

Dec 10 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Cortes | last post by:
Hi all, I have this parent window poping up the child window. SOmething like this popupWinA= window.open("child.html","popupWinA"," width=300 , height=150) I want this child popupWinA always...
4
by: crispywafers | last post by:
Hi, Is it possible to filter ontop of the current filter being applied to records? This seems like it should be easy? I have two drop down boxes-- one to filter on a student's last name, one...
2
by: Dan | last post by:
I was wondering if it was possible (and if so how) to put a layer ontop of frames. What I mean is that I would be able to put anything, including tables ontop of frames so that it could go ontop...
2
by: Eric | last post by:
When i bound the other form in my main form. The whole first subform area is covered with white color. But when i bound another form its not shows the whole area in white color. Why my one subform...
1
by: shayhk | last post by:
Hi all. I built a winForm program in c# I set it to be on front of all windows with the Form 'onTop' property . The problem it that it is not working when for example : windows media player is on...
7
by: Martin | last post by:
Hello Does anyone know if it is possible to use the smo db.Create() method to create a new sql server database with sql server 2005 express? The debugger complains that remote operations are not...
1
by: MaryamSh | last post by:
Hi, I am creating a Dynamic Search in my application. I create a user control and in Page_load event I create a dynamic dropdownlist and 2 dynamic button (Add,Remove) By pressing Add button...
0
by: MaryamSh | last post by:
Create Dynamic Dropdownlist Controls and related event -------------------------------------------------------------------------------- Hi, I am creating a Dynamic Search in my application. I...
2
by: Bandet Ace | last post by:
Today the MMORPG Runescape owned by JaGex released there full screen and HD mode to the game.(it's browser based) Because of there full screen mode they fill the whole screen not just the browser...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.