News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

DxScene?

Started by hfheatherfox07, October 04, 2011, 09:21:49 PM

Previous topic - Next topic

hfheatherfox07

Hi does any body know if this is possible with MASM

I have seen an example in delphi were you click a button and the window flips over and back again ...soo cool

and it is not animate window (Might use animate window to hide)

thank you

http://www.megaupload.com/?d=G64M03LO

File name: DXScene-Delphi.zip
File description: DXScene-Delphi
File size: 707.55 KB

dedndave

i am sure that if it can be done in delphi, it can be done in asm - lol
when you say "flips over", you mean a mirror image ?
that could be done using a compatible DC and BitBlt

hfheatherfox07

In delphi they use dxscene 4.42 to create forms for that .....

if you Google "dxscene 4.42" you will find that software .....

Do you have and examples of a mirror image using a compatible DC and BitBlt? I have no idea were to start .... I have used that to only BitBlt the non client area of a window,
How do you BitBlt a whole window?


and NO I will never go over to delphi .....stick with MASM  :bg


I found an article so far but in C

http://www.codeguru.com/cpp/g-m/bitmap/specialeffects/article.php/c1739

dedndave

ok - go to these threads and download ALL the attachments
you are looking for the one by Phil named "lefty", but they are all fun - i know you'll want them   :bg

http://www.masm32.com/board/index.php?topic=2172.0
http://www.masm32.com/board/index.php?topic=13318.0

hfheatherfox07

Thank you ...
will Look  :bg

hfheatherfox07


NoCforMe

Quote from: dedndave on October 05, 2011, 03:32:45 AM
ok - go to these threads and download ALL the attachments
you are looking for the one by Phil named "lefty", but they are all fun - i know you'll want them   :bg

http://www.masm32.com/board/index.php?topic=2172.0
http://www.masm32.com/board/index.php?topic=13318.0

Um, no thanks.

I made the mistake of running one of the demo apps that comes with MASM32, hscroll.exe I think it was, that royally screwed up my desktop--fonts, colors, etc. It all came back with a reboot, but still, no thanks. (I think it was one of Hutch's programs?)

dedndave

these are very beingn programs
nearly all programs on the forum are quite safe

NoCforMe

if that's so, then why did hscroll leave my desktop in such a shambles? I mean, it was really messed up. (Came back after a reboot, but still.) I hardly call that "benign".

By the way, it's a really simple program, only one page of code.

jj2007

No idea what went wrong, here \masm32\examples\exampl09\hscroll\hscroll.exe works just fine...

dedndave

Jochen,
he may be refering to this HSCROLL...
http://www.masm32.com/board/index.php?topic=2172.msg17213#msg17213

however, they both work fine on my xp sp3 machine

NoCforMe

Quote from: dedndave on October 05, 2011, 11:23:40 PM
however, they both work fine on my xp sp3 machine

I'm running Win2K pro, which may explain that.

I would never ASS-U-ME that a program that "works for me" would necessarily work fine on another flavor of Windoze.

dedndave

well - you bring up a good point
that is one of the main advantages of having a forum like this one
we get to test code on a variety of machines, with different OS's and settings, etc
it would be nice to understand what the problem is with that code on your machine
seeing as you are new to asm, we can't expect you to spot obscure problems just yet   :P

hfheatherfox07

If any body has time can they comment this little asm http://www.masm32.com/board/index.php?topic=2172.0

I was looking to  use some of it with no scroll to get a non client area of a window to flip , buy I want it to flip to 180 and than back

I saw an example of what I want to accomplish but it is one of those funny apps

hfheatherfox07

Quote from: dedndave on October 04, 2011, 11:47:22 PM
i am sure that if it can be done in delphi, it can be done in asm - lol
when you say "flips over", you mean a mirror image ?
that could be done using a compatible DC and BitBlt

Are you sure ? I added an attachment of the Delphi example that I found ....Soo Cool If we can do that in MASM....
They also use create shadows ....which we have in MASM
I know that ...but I don't know which API call it is... :(