News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

DIB flicker problem

Started by kroz, May 30, 2012, 12:26:45 PM

Previous topic - Next topic

kroz

Hi. I've been doing masm for several months now, and i've just come across DIB.
I read sheep's dib tuts and i tried coding a little demo test. It worked well until I
tried to create a black strip at the bottom by using BitBlt,hWnd,etc,etc,BLACKNESS and the BmpButton function in the masm library.
Then it began to flicker. The only way to stop flickering seems to be to stop BitBlt, and use a normal button, instead of bitmap.
Could anyone please help? thanks :)

dedndave

i am a bitBlt confused   :P

what you show us is a console app - with no source   :redface:
flicker isn't a big problem in console mode
and - we can't see how you are using BitBlt without disassembling your exe

xandaz

   it's fixed kroz. No redraw window. just InvalidateRect excluding about 40pxls from bottom. Thanks. You're the second person i help this morning. It's kinda going well.

xandaz

   also i forgot to mention that you're demo looks pretty good. Later

dedndave

i don't know what the heck i was looking at   :redface:
i downloaded the zip and unzipped it - then, i must have opened some other folder   :lol:

sorry about that

kroz

@xandaz : Thanks mate :) fixing it up now...
@dedndave : that's alright ;)

satpro

kroz (+ zandaz fix),


Nice demo.  Got the tingles thinking about the c-64...

xandaz

   hi ppl. Been away for a while. Just like to say it feels good to be back.
   Also, i liked a lot what you did with the bitmap font kroz. It's kinda tricky. Nice work.

hfheatherfox07

@Kroz What did you use to get the image data? is it just hutch's Bin2Dib? or do you have something else?
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

hfheatherfox07

Never mind Sorry ...I was having a Brain Fart moment   :redface:  ...I saw the images Folder LOL
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

hfheatherfox07

Hi Kroz
Do you have sheep's dib tuts and attachments
No place on the net has them   :( , he made 3 tuts
Thank you !
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

kroz

hfheatherfox07 : quite right. It was pretty difficult to get hold of this. I got these tuts thanks to a guy who backed them up on a DVD
                           

*** PLEASE SPREAD THESE !!! ***

enjoy

hfheatherfox07

Thank you so much!!! :biggrin:
This are so hard to come by , actually impossible
Thank you again :biggrin:
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

hfheatherfox07

#13
@Kroz
What did you use to convert the goldyfont.bmp.palette and goldyfont.bmp.picture to .asm
Bin2dib gives me a different result ?
Edit
What I mean by result is the db numbers inside , it still works !
Your code and your skills will be assimilated. Your programming language is irrelevant.
We are the ASM Borg and you will become part of us. Compile and be assembled.

kroz

Use BMP2RAW http://www.filedropper.com/256bmp2raw
cheerz :) then use Bin2Dib on both .pallete and .picture files