flat assembler
Message board for the users of flat assembler.

Index > Windows > Skinning and region on fasm?

Author
Thread Post new topic Reply to topic
senolc_eht



Joined: 22 Mar 2004
Posts: 57
Location: Indonesia
senolc_eht 22 Mar 2004, 23:11
how to do skinning and regioning in fasm?
help plz Sad
Post 22 Mar 2004, 23:11
View user's profile Send private message Yahoo Messenger Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1140
Location: Russian Federation
comrade 23 Mar 2004, 00:53
the same way you do in any other language
use SetWindowRgn(), ExtCreateRegion(), GetRegionData(), CombineRgn() API

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 23 Mar 2004, 00:53
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
senolc_eht



Joined: 22 Mar 2004
Posts: 57
Location: Indonesia
senolc_eht 23 Mar 2004, 10:51
pliz give me an asm tutorial.

thanks Smile
Post 23 Mar 2004, 10:51
View user's profile Send private message Yahoo Messenger Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 23 Mar 2004, 12:33
This is a very simple example using bitmap resource.


Description:
Download
Filename: Shaped.zip
Filesize: 10.81 KB
Downloaded: 410 Time(s)

Post 23 Mar 2004, 12:33
View user's profile Send private message Yahoo Messenger Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder 23 Mar 2004, 18:49
Post 23 Mar 2004, 18:49
View user's profile Send private message Visit poster's website Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 23 Mar 2004, 21:33
Very good !!! Thanks,
pelaillo
Post 23 Mar 2004, 21:33
View user's profile Send private message Yahoo Messenger Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1140
Location: Russian Federation
comrade 23 Mar 2004, 21:46
maybe this will help


Description:
Download
Filename: rgncuttr.zip
Filesize: 14.3 KB
Downloaded: 386 Time(s)


_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 23 Mar 2004, 21:46
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder 23 Mar 2004, 21:48
Hope you can use it - you'll probably have a bit of a hard time if you try to read my hacky source, but feel free to ask if you need a hand, and I'll do the best I can Smile
Post 23 Mar 2004, 21:48
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder 23 Mar 2004, 21:53
That tool seems VERY slow comrade, besides it crashed on the test bitmap from the win32asmboard thread I linked to.
Post 23 Mar 2004, 21:53
View user's profile Send private message Visit poster's website Reply with quote
senolc_eht



Joined: 22 Mar 2004
Posts: 57
Location: Indonesia
senolc_eht 24 Mar 2004, 00:09
thanks all for the help! button how about the button, i try using the GetCursorPos but it still not working

thanks, Smile
Post 24 Mar 2004, 00:09
View user's profile Send private message Yahoo Messenger Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1140
Location: Russian Federation
comrade 24 Mar 2004, 03:37
f0dder wrote:
That tool seems VERY slow comrade, besides it crashed on the test bitmap from the win32asmboard thread I linked to.


How do you know its slow if it crashed?

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 24 Mar 2004, 03:37
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder 24 Mar 2004, 15:58
Because it took a very long time to crash Wink. The crash was of course because the bitmap was in one color format and your program expects another (the 24bpp color requirement wasn't mentioned in the readme).

Have a look at the code from the win32asmboard thread, it's quite a bit faster.
Post 24 Mar 2004, 15:58
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.