Search found 12 matches

by ankachen
Thu Nov 05, 2009 5:38 pm
Forum: Tricks 'n' Tips
Topic: Snippet for Saving Multipage TIF with GDI+
Replies: 9
Views: 3722

Re: Snippet for Saving Multipage TIF with GDI+

What a great code for using GDI+
uhh...but just can read the first page of multipage TIF.
any suggestion "GdipCreateBitmapFromFile()" or other command in GDI+ library can read
not only first page but more pages I need.

any help will be very appreciation!!
by ankachen
Tue Dec 04, 2007 7:57 am
Forum: General Discussion
Topic: Transparent shadow image as window's background?
Replies: 5
Views: 4171

Wow! Your solution was terrific!! Thank you for helping.
I was clarified on this issue.

Thanks again!!
by ankachen
Mon Dec 03, 2007 12:06 pm
Forum: General Discussion
Topic: Transparent shadow image as window's background?
Replies: 5
Views: 4171

Transparent shadow image as window's background?

When I set transparent shadow image as window's background, I couldn't
alignment any gadgets inside the window. Any solution will be appreciated.

CreateGadgetList(WindowID(0))
ButtonGadget(1,20,20,100,50,"Button")
The button doesn't visible in the following code.

Here is the image : ftp://leon ...
by ankachen
Thu Nov 08, 2007 4:58 am
Forum: General Discussion
Topic: Align Richeditor with "center", "left" a
Replies: 7
Views: 2005

Thanks for providing solutions.

In addition, how to print the content of RTF format in EditGadget?

appreciated
by ankachen
Mon Nov 05, 2007 6:07 am
Forum: General Discussion
Topic: Align Richeditor with "center", "left" a
Replies: 7
Views: 2005

Align Richeditor with "center", "left" a

How to align richeditor with "center", "left" and "right"?
by ankachen
Fri Aug 31, 2007 5:37 am
Forum: General Discussion
Topic: Math of decimal point!!
Replies: 4
Views: 1356

Math of decimal point!!

Hi guys, I got a little problem with math.

I wonna have the result of "a.f=1/10".

I got "0.10000000149012".

If I wonna get jst "0.1", how could I gonna do?

any suggestions will be appreciated.
by ankachen
Wed Aug 29, 2007 4:05 am
Forum: General Discussion
Topic: Why .lib files in /compilers will disappear?
Replies: 0
Views: 895

Why .lib files in /compilers will disappear?

Anybody know why .lib files in "compilers" folder will disappear when compiling finished? :?

Sorry, I forgot to mention that I put a .lib file to /compilers, not its own file.
by ankachen
Mon Aug 27, 2007 8:05 am
Forum: General Discussion
Topic: How can I retrive setting of all gadgets in a window?
Replies: 2
Views: 1179

How can I retrive setting of all gadgets in a window?

I designed two windows in a program. When I press "F1", the preference window will pop up or close(if it's opened). I also have some gadgets in the preference window, something like option gadget, combobox gadget, scrollbar gadget, trackbar gadget, etc. My problem is how could I get my previous ...
by ankachen
Mon Apr 02, 2007 4:04 am
Forum: Windows
Topic: Windows only FTP routines...
Replies: 9
Views: 5188

ts-soft: nice :)

Procedure.s FtpDir(dir$="*.*",paraend$="|",lineend$="#")
result$=""
dir$=Trim(dir$)
If ftp_hconnect
found=FtpFindFirstFile_(ftp_hconnect,dir$,@file.WIN32_FIND_DATA,0,0)
If found
Repeat
attrib=PeekL(@file)
writel=PeekL(@file+20)
writeh=PeekL(@file+24)
sizeh=PeekL(@file ...
by ankachen
Mon Apr 02, 2007 4:03 am
Forum: Coding Questions
Topic: FTP access
Replies: 15
Views: 7849

Here is some simple code I wrote for FTP Access...

Procedure.l FTPDir(hConnect.l)
hFind=FtpFindFirstFile_(hConnect,"*.*",@FTPFile.WIN32_FIND_DATA,0,0)
If hFind
Find=1
Debug PeekS(@FTPFile\cFileName)
While Find
Find=InternetFindNextFile_(hFind,@FTPFile)
If Find
Debug PeekS(@FTPFile ...
by ankachen
Thu Mar 29, 2007 9:56 am
Forum: Windows
Topic: Windows only FTP routines...
Replies: 9
Views: 5188

Re: Windows only FTP routines...


ftp_hcallback=InternetSetStatusCallback_(ftp_hopen,@FtpCallback())

Procedure FtpCallback(Handle,context,Status,info,len)
If context
Debug("# "+Str(context)+" - "+Str(Status)+" - "+Str(info)+" - "+Str(len))
EndIf
EndProcedure



Anyone can explain the code above? I don't understand how ...
by ankachen
Tue Mar 27, 2007 2:56 am
Forum: Announcement
Topic: SQLite Server
Replies: 33
Views: 17891

the.weavster wrote:Downloads are available again.

I've also made some changes which have made the server very much faster.
Do you provide any client program or who can provide one for using? Thanks