Hi!
This may sound a little bit stupid to you, but while developing a simple application in VC++ / OpenGL (running windows XP) I’m unable to open a fullscreen window that can be placed above the Winamp then it is running with the “always on top” option on. I’m experiencing 2 different kinds of situations:
1 - Winamp is always placed above my fullscreen window.
2 - Both applications appear to fight to obtain the topmost Z-order position and I see flicker (similar to z-buffer fighting).
The problem is only with winamp, because everything runs fine with other “always on top” applications. I’m using the version 5.03 of Winamp, but it happens with any other version.
Sometimes this happens when I initialize the application but it also happens then I loose focus with alt+tab combination and try to enter the application again.
I have tried everything I can without any good results…
ShowWindow();
BringWindowToTop();
SetActiveWindow();
SetForegroundWindow();
SetWindowPos()
Obviously I’m using the WS_EX_TOPMOST extended style and WS_POPUP style when creating the window.
I have also tried capture some messages in the WindowProc like the WM_SETFOCUS and WM_ACTIVATE but again without any success.
Hope anyone can help me,
Thanx.