Xion Audio Player

Always On Bottom

Feature Requests and Ideas

Postby xonenine » June 30th, 2009, 7:58 am

SLoB Wrote:I prefer it when she's on top, oops :roll: :lol: wrong thread ;)


hehehe, lmao =P~
User avatar
xonenine
Xion Freak
 
Posts: 873
Joined: February 8th, 2008, 1:29 pm
Location: NY

Postby Jikaru » June 30th, 2009, 8:17 am

I always prefer her on top too...were still on xion right SLoB? lol.

I was just providing some insight. I thought you could.

Oh btw in older versions of VB like before 2004...there was an option (zorder) to change that...now it requires a different method using SetChildIndex...

You can in fact find a Specific Zorder of a program and move Xion above that program, like for instance the photoshop graphical hiccup earlier.

So in retrospect you could potentially always find the "taskbar" and place Xion above it always, by having an option in the properties of Xion to "Always be above taskbar"

Here's the source that was applied to 'Office'

http://msdn.microsoft.com/en-us/library ... 10%29.aspx
User avatar
Jikaru
Xion Fan
 
Posts: 306
Joined: December 26th, 2007, 1:56 pm
Location: Orlando, FL, USA

Postby Cliff Cawley » June 30th, 2009, 10:39 am

Jikaru Wrote:I always prefer her on top too...were still on xion right SLoB? lol.

I was just providing some insight. I thought you could.

Oh btw in older versions of VB like before 2004...there was an option (zorder) to change that...now it requires a different method using SetChildIndex...

You can in fact find a Specific Zorder of a program and move Xion above that program, like for instance the photoshop graphical hiccup earlier.

So in retrospect you could potentially always find the "taskbar" and place Xion above it always, by having an option in the properties of Xion to "Always be above taskbar"

Here's the source that was applied to 'Office'

http://msdn.microsoft.com/en-us/library ... 10%29.aspx


*Sigh*

Jikaru as I've said its not possible in Windows. You can force yourself to the top of whatever stack you're part of, but you can't set an index. The documentation you've linked to is specifically for Office. Office maintains its own zorder internally for layering things like shapes.

Xion does the same (i.e this button above that button).

Here is a link to the MSDN article about the function available for window ordering: http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Look at the description for hWndInsertAfter. As you'll see, you can either move to the top, bottom, topmost or not topmost.

The methods you're referring to change the CHILD zorder index. I.e. the order on an existing Form/Window and not the window amongst other process windows.

Windows however doesn't have an app definable zorder, other than saying 'I want to be in the top most area'. If windows had a customizable zorder, EVERY app would try to set itself to be on the highest zorder to get the attention of the user, hence they don't allow an option like that.

Of course, I've been coding in windows for about 14 years now, but hey, what do I know :)

Cliff :)
Cliff Cawley
Creator of Xion
r2 Studios
http://www.r2.com.au
http://xion.r2.com.au
User avatar
Cliff Cawley
Creator of Xion
 
Posts: 1955
Joined: September 3rd, 2006, 11:33 am
Location: Brisbane, Australia

Postby Jikaru » June 30th, 2009, 12:25 pm

I'm not doubting your ability, I just thought it was possible because in Visual Basic (when I was starting out about 6 years ago) I remember specifically having the option to set a zorder of the window it would look for a process window and set according to any other window up, like second to last or a certain amount of layers up or down from them.

But I guess if it isn't possible now...then how do you propose to fix the issue of not being high enough in the layering to be above all other graphical elements?
User avatar
Jikaru
Xion Fan
 
Posts: 306
Joined: December 26th, 2007, 1:56 pm
Location: Orlando, FL, USA
Previous

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron