PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Clock update in fullscreen

Allright folks, I have a pretty annoying problem with fullscreen using SHFullScreen call.

#1. The clock updates itself and shows on the fullscreen window.

#2. The SIP thing doesn't go away even if I do a SHFullScreen(myhwnd, SHFS_HIDESIP...)

I've annoyed myself for a full day with this... so....
Moose or Chuck · 02 Aug 2001, 21:32 UTC
Try looking through Jaco "Phantom" Bikker's EasyCE routines. It's does full screen pretty well. I'm sorry I forgot the link. But look through the forum and find  any thread that says "Tutorial #" by "Phantom." And remember to come back here and post the link incase anyone else has the same problem.
Moose or Chuck · 02 Aug 2001, 21:34 UTC
NM, I'll do it myself:
http://userwww.econ.hvu.nl/~kouwenhs/
Click on the "Tech Info." link in the left navigation bar.
Process the WM_ACTIVATE message in your main window handler. If you are getting activation then call the SHFullScreen function, and size your window to fit the display (use GetSystemMetrics to get the dimensions, don't hard-code them like a bad little programmer).
Aww, heck. Just copy and paste:
[fixed]
case WM_ACTIVATE:
 if (LOWORD(wParam)!=WA_INACTIVE) {
   SHFullScreen(hWnd, SHFS_HIDETASKBAR);
   MoveWindow(hWnd, 0, 0, GetSystemMetrics(SM_CXSCREEN),
     GetSystemMetrics(SM_CYSCREEN), TRUE);
 }
 break;
[/fixed]

Dan East
Hey, you're the Palm-emu guy, right? Great job and thanks for coming here!
From what I've seen PDAFantast is a pretty faithful PCKTMTRX board member. He is from sweden to by the way (I assume that from his name, and I think he said sometime)
His Brighthand profile says he's from Malmö :)
Oh, while we're talking about Brighthand: The link on the news page doesnt work!
-Shape
Chris Edwards · 04 Aug 2001, 16:04 UTC
it's all darren kitchen's fault... i'll fix it though :)
Malmö is a city in southern Sweden.
Actually my lastname, Malmer, comes from one of my ancestors who moved from Malmö to Gothenburg. This guy was a a world famous mirrordesigner, and he felt he could have the "simple" name that he had, so he changed it. And since he moved from Malmö, well then Malmer was pretty close at hand... :)
Thanks for posting that, Fredrik. It was the only thing I thought about since I've come to this board...
~~~~~~~~~~~~
Dan East,

I am doing just that, but I'm doing it in WM_CREATE message handler instead of WM_ACTIVATE.
I am resizing it with MoveWindow too.
Still, the stuff works ok, I mean I can see the fullscreen window, I can draw to fullscreen window, but the damned clock always shows thru, when itself is updated.

And about the SIP thing. The SIP icon remains in fullscreen  only when the program is NOT run from the Today screen. Pretty odd huh?
Shapeshifter and Fredrik,

Yeh, I'm from Malmö, Sweden, coolest city in the world ;) or so they say.

Alright, I found what was wrong...

Apparently, even if you do NOT create a task bar
at all you HAVE to do a SHFullScreen with SFPS_HIDETASKBAR as argument, so that the SIP thing doesn't get confused. How lame.

I think someone at Microsoft smoked a lot of ganja again. Or was it pot ? Nevermind, bad shit was it anyway ;)
Hey PDAFantast, how is the Palm emulator coming along? Why not talk with Chris about getting hosted?
Fredrik,

It's going ok, I'm at alpha 2 stage, able to run Os1 to OS3.52 ROMS, to hotsync and run applications.

Actually, Chris and I have already talked about this, but as I told him, at the time he offered to host, I was already on my way to fix my own hosting. Actually I'm working on contents for the site now. Layout and stuff is all ready. www.kodeness.com