What is the taskbar called in PPC? Is there a way to get the height of it?
Taskbar?
uh... take a picture? dunno how to do it in code...
racka-fracka...hmmph...
To be more specific, what I meant was...
IN CODE, what is it called and how do you get its size?
To be more specific, what I meant was...
IN CODE, what is it called and how do you get its size?
Ummm, found an old thread about this, but still would like an answer *nudge's Dan*.
Also, IF you dispatch the taskbar, and then proceed to draw fullscreen, will a tap on the start menu's location still fire that start menu event?
Also, IF you dispatch the taskbar, and then proceed to draw fullscreen, will a tap on the start menu's location still fire that start menu event?
I have been tryin to figure these questions out a while. It seems that the top bar is called the Start Menu, whereas the bottom bar is referred to by many names in the documentation: System Tray, Command Bar, and Taskbar.
I would consider the top bar to be the Taskbar wouldn't you????....But alas when i choose to hide the Taskbar with a function call, the bottom bar is what disappears.
If i draw fullscreen AND set the Start Menu to be hidden, then tapping on the start menu's location will not elicit a response from the start menu events and its pretty much non-existent as desired.
I would consider the top bar to be the Taskbar wouldn't you????....But alas when i choose to hide the Taskbar with a function call, the bottom bar is what disappears.
If i draw fullscreen AND set the Start Menu to be hidden, then tapping on the start menu's location will not elicit a response from the start menu events and its pretty much non-existent as desired.
What are you cooking, Ric?
This is good and bad.
A) Yeah, HOW IS IT NOT THE FARGIN TASK BAR? Thats what I'd call it.
B) I need it be go away, but I need to get the Start Menu Message...though I could create my own I suppose...hmmm.
C) Luci, if you go here you can see what's a cookin'.
A) Yeah, HOW IS IT NOT THE FARGIN TASK BAR? Thats what I'd call it.
B) I need it be go away, but I need to get the Start Menu Message...though I could create my own I suppose...hmmm.
C) Luci, if you go here you can see what's a cookin'.
B) I need it be go away, but I need to get the Start Menu Message...though I could create my own I suppose...hmmm.
I really don't know how to make it go away and yet still activate it. No matter if i force hide it or just draw over it, it still will not work. I can only get it to work when its visible, so I end up letting it draw over top part of my apps display.
Oh, that. Looking good.
You could make it reappear on-demand when a user clicks that general area...
do u just want the menu itself to appear overtop your LCARS? It might be nicer if you had your own. All of the icons of course are in the \Windows\Start Menu
do u just want the menu itself to appear overtop your LCARS? It might be nicer if you had your own. All of the icons of course are in the \Windows\Start Menu
It's called the TaskBar. Its window class is HHTaskBar. You can just send a message to it to get its size.
Here's how I display the Start Menu. I simply send a message to the TaskBar as if the user clicked at coords 2,2:
[fixed]
HWND wnd=::FindWindow(_T( "HHTaskBar" ), NULL);
if (wnd)
SendMessage(wnd, WM_LBUTTONDOWN, 1, MAKELPARAM(2,2));
[/fixed]
That works for me!
Dan East
Here's how I display the Start Menu. I simply send a message to the TaskBar as if the user clicked at coords 2,2:
[fixed]
HWND wnd=::FindWindow(_T( "HHTaskBar" ), NULL);
if (wnd)
SendMessage(wnd, WM_LBUTTONDOWN, 1, MAKELPARAM(2,2));
[/fixed]
That works for me!
Dan East
Dan to the rescue!
The top one is the Task Bar, the bottom is the Status Bar. And he saw that it was good, so it was.
Both are 16 pixels, aren't they?
Both are 16 pixels, aren't they?
Thanks Dan, though I figured it out before I read your post. I just wrote a quick spy app to tell me what they were.
Now, on to bigger and badder things. I have the window, but do I want to subclass it and draw over it or just hide it? Hmmmmm.......
Now, on to bigger and badder things. I have the window, but do I want to subclass it and draw over it or just hide it? Hmmmmm.......
Aha...you're making your own skinion? 
OH NO! BUSTED!
Here's the man that I was lookin' for. Yeah, I am Fred, but it's a bit more than that. Any help you can fling my way would be great.
But don't let it distract you from Argentum...I don't want to be on the recieving end of hate-mail.
Here's the man that I was lookin' for. Yeah, I am Fred, but it's a bit more than that. Any help you can fling my way would be great.
But don't let it distract you from Argentum...I don't want to be on the recieving end of hate-mail.
don't worry, you get used to it after a while...I don't want to be on the recieving end of hate-mail.
*snicker*
It totally depends on what you're trying to do. I would just create my own window, being that the existing taskbar does next to nothing in the first place.
Dan East
Dan East
BTW, doesn't eVC install several very useful utils, like Remote Spy++? I've had them since CE 1.0, so I don't know if eVC includes them or not.
Dan East
Dan East
Yeah, its got SPY++, but it doesn't work with the emu, and I didn't have my PPC with me.
I think I am going to just can the taskbar and go fullscreen, just haven't figured out how yet.
Should I do a hide on it? Or should I move my window over it?
I think I am going to just can the taskbar and go fullscreen, just haven't figured out how yet.
Should I do a hide on it? Or should I move my window over it?
Either one draws over it when I tried.
Ya know, I wonder why SPY++ lists Emulation if it can't work with Emulation. Bastards.
Ya know, I wonder why SPY++ lists Emulation if it can't work with Emulation. Bastards.
HAHA! I was just yelling that at my monitor a few minutes ago.