Search found 11 matches

by Andy72
Wed Nov 14, 2007 12:55 am
Forum: Windows
Topic: listicongadget Column header detect
Replies: 10
Views: 4901

Thanks Srod,
added the code and its exacatly what I needed, I often find the code you post has helped me out of many coding problems.

cheers mate :D

andrewr
by Andy72
Wed Nov 14, 2007 12:30 am
Forum: Windows
Topic: listicongadget Column header detect
Replies: 10
Views: 4901

Thanks, I'll give it a go.
I was afraid using windows callback may be the only way, so dose this mean if you were trying to do it in lynix your stuffed? (just a question as I did post this in the windows section :wink: ), Only ask because I seen posts from 2003 asking similar questions?
by Andy72
Tue Nov 13, 2007 11:35 pm
Forum: Windows
Topic: listicongadget Column header detect
Replies: 10
Views: 4901

listicongadget Column header detect

I know this may be a case of RTFM but I have been having trouble figuring out how to detect which column header has been clicked on when using the listicongadget?

Cheers

Andrewr
by Andy72
Mon Jun 25, 2007 8:22 am
Forum: Coding Questions
Topic: saving a Sprite off screen as a PNG?
Replies: 3
Views: 893

I should take more time reading the help files I think!!!!!!!!, boy do I feel silly now :oops:

Thanks for the reply, think I'll use that insted!!
by Andy72
Mon Jun 25, 2007 5:09 am
Forum: Coding Questions
Topic: saving a Sprite off screen as a PNG?
Replies: 3
Views: 893

This seems to work nicely but is there a better way?

Procedure SendAnswer()

GrabSprite(50,40,40,709,650)
ImageID1=CreateBitmapFromSprite(50)
ImageID2=CreateImage(51,709, 650)
source_image = CreateCompatibleDC_(main_dc)
SelectObject_(source_image,ImageID1)
dest_image = CreateCompatibleDC ...
by Andy72
Mon Jun 25, 2007 4:36 am
Forum: Coding Questions
Topic: saving a Sprite off screen as a PNG?
Replies: 3
Views: 893

saving a Sprite off screen as a PNG?

Ok, I'm finding out I know very little about grabbing images and saving them, using code I found on the forums (thanks guys :D ), I can grab a sprite and display it in an image gadget, but I cant for the life of me figure out how to save it to a PNG, heres the basics of what I've got...


If ...
by Andy72
Tue Jun 19, 2007 8:21 am
Forum: Coding Questions
Topic: RenderMovieFrame question?
Replies: 1
Views: 678

All good now, I'm using PNG's with transparency, works well now ;)
by Andy72
Tue Jun 19, 2007 2:14 am
Forum: Coding Questions
Topic: RenderMovieFrame question?
Replies: 1
Views: 678

RenderMovieFrame question?

Hi all!,
been a while (almost a year) since my last post, just a quick question, I want to display a sprite at 720x576 (Pal SD rez) and overlay a movie on it using RenderMovieFrame (the movie is also 720x576).
The movie is black with moving text at the bottom (textured text), what I want to see ...
by Andy72
Sat Jun 03, 2006 1:23 am
Forum: Coding Questions
Topic: Anothe drag and drop question
Replies: 21
Views: 2606

Ok, I see, I was afraid there may have been a little more to it than saying, detect mouse click, check drop window ect ect, I've got a few mates who can programme in other languages, I could go the DLL route? :?

But I also think I'm getting a little ambitious to want to that just yet, I havent ...
by Andy72
Fri Jun 02, 2006 9:23 am
Forum: Coding Questions
Topic: Anothe drag and drop question
Replies: 21
Views: 2606

Cheers mate, I'll check it out

Sweet :wink:
by Andy72
Fri Jun 02, 2006 8:37 am
Forum: Coding Questions
Topic: Anothe drag and drop question
Replies: 21
Views: 2606

Anothe drag and drop question

Just got purebasic, so i'm very new, (haven't programmed anything serious since turbo pascal 5.5 in the early 90's!)

anyway, how can i drag say a gadget list item(s) to another app,
heres what i want, create a list of "files" in a gadget list and drag them to another app, when dropped to the new ...