ok after some days (and nights) of exploring gfx
i finished my first demo app... it features custom
skinning, bmp buttons, dib star scroller ...
i had to handle tons of gnarly bugs that crashed my
system a couple of times... the hard ones are
fixed i think but i can test only on win98 :(

the routines used for this app are flexible and the
source is more or less commented so that a newbie
in gfx coding should easily understand whats going
on there.

bug-reports desired :)

thank you
mob
Posted on 2001-11-20 14:38:57 by mob
Nice... I like the Max/Min/Close buttons :)

I havent looked over your source yet, but are you back buffering the star field?? (cause its has a small bit of choppy ness).

But then again GUI on a relatively large area will do that to, regardless...

From Win98SE, i can say it works fine..

Good Work
:alright:
NaN
Posted on 2001-11-20 15:18:53 by NaN
yes i use a backbuffering method for this starfield but
i had several problems with invalidaterect and WM_PAINT
so i throwed all starfield code in its own thread, this
thread communicates with the main thread via sendmessage.
i don't know how to reduce the flickering maybe it's
because i use a very silly method to slow down the stars...
look at the code and you'll see :)
Posted on 2001-11-20 16:46:44 by mob
Works great in Windows XP. No problems for me :)


Torch
Posted on 2001-11-20 18:53:13 by Torch
Afternoon, Mob.

Works on WinMe:alright: .

Cheers,
Scronty
Posted on 2001-11-20 22:46:10 by Scronty
Runs on NT4 but very slow.
For example when pressing exit it takes about 5 seconds to pop up the byebye message box.
Looks great though.
Posted on 2001-11-21 03:19:23 by trancera
That is a pretty cool app :)

I tested it on a dual processor Win2K machine. It takes about 5 seconds to appear. The starfield runs smooth as, the only time it doesn't is when you click on anything in the main window, if you hold down the left button the starfield freezes for about 1/2 a second, then resumes. It appears to keep working during the pause, but just doesn't get painted during that 1/2 second.

If you press on the scroll bar, you get the same effect, then the scrolling window jumps to position and the starfield resumes at the same time, and if you still maintain the click on the scroll bar everything runs/scrolls smoothly after that initial 1/2 second.

Overall: a great job :alright:
Posted on 2001-11-21 05:17:52 by sluggy
good news i think... thank you
it is ok that the application needs a couple of time
to pop up... i could make it pop up just after start but
then i have to calculate the region data from outside...
i wanted to demonstrate how to do this inside the prog
before the program loads...

this starfield flicker effect is ~ok~, thats just a test, i
wouldn't throw graphical stuff in a thread normally

i found a very terrible bug and don't have any clue how
to fix it... if i start winamp and load one of those visual
winamp demos (climax was the name) the background
picture of my prog is fully penetrated and it doesn't
restore, even if i minimize it.... maybe it's because i don't
draw the back-bmp with wm_paint, i just pass it to
the background identifier in the windows-class... but if
i choose the wm_paint way to draw the background the
result is a huge speed decrease (very huge). no idea...

ok so thanks for testing i'll get back to work now, bye
Posted on 2001-11-21 11:06:21 by mob