Search found 63 matches

by omit59
Sun Mar 24, 2013 1:13 pm
Forum: Coding Questions
Topic: Packer: NextPackFile()
Replies: 2
Views: 729

Re: Packer: NextPackFile()

Thanks for a quick answer.
Time to start learning again...

Timo
by omit59
Sun Mar 24, 2013 12:03 pm
Forum: Coding Questions
Topic: Packer: NextPackFile()
Replies: 2
Views: 729

Packer: NextPackFile()

Hello,

has NextPackFile() name changed or removed, it does not seem to work anymore in 5.10?
I can't find any info about it. Worked with 5.00

Thanks
Timo
by omit59
Thu Apr 22, 2010 7:05 am
Forum: Coding Questions
Topic: Multiple images in one file
Replies: 12
Views: 2429

Re: Multiple images in one file

Thanks to all for your replies

I'll check them them now and decide what is best for this job.

Timo
by omit59
Mon Apr 19, 2010 9:11 am
Forum: Coding Questions
Topic: Multiple images in one file
Replies: 12
Views: 2429

Re: Multiple images in one file

Thanks ts-soft, but I'm not sure that is suitable for this job?

I was thinking something like Gimp-layers, so that layers can be added during program running, and edited seperately.
Includefile or resources don't suit for that, or do I understand right? (never used resources though)

Timo
by omit59
Sun Apr 18, 2010 5:17 pm
Forum: Coding Questions
Topic: Multiple images in one file
Replies: 12
Views: 2429

Re: Multiple images in one file

Thanks for the reply, srod and Kaeru Gaman

Yes, I have started using Packer lib for this, and also thinking about using database file, but never used Sqlite, so it's totally new to me...

I was thinking of something like srod wrote about creating image in memory and then writing it to the disk ...
by omit59
Sun Apr 18, 2010 10:03 am
Forum: Coding Questions
Topic: Multiple images in one file
Replies: 12
Views: 2429

Multiple images in one file

Anybody having an example how to save and load multiple images in same file?

Timo
by omit59
Sun Mar 30, 2008 9:19 am
Forum: Coding Questions
Topic: Problem: Listicon and webgadget with #PB_Web_HtmlCode
Replies: 3
Views: 1040

@Sparkie,

I'm using webgadget (which is not so clever) for my program , but it helps so much when using different colors and fonts (printing too).

So this will be a big help for me, thank You very much!

Timo
by omit59
Sat Mar 29, 2008 1:13 pm
Forum: Coding Questions
Topic: Problem: Listicon and webgadget with #PB_Web_HtmlCode
Replies: 3
Views: 1040

Problem: Listicon and webgadget with #PB_Web_HtmlCode

Having trouble with webgadget, check this:

If OpenWindow(0, 0, 0, 320, 300, "ListIconGadgets", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) And CreateGadgetList(WindowID(0))
ListIconGadget(0, 10, 25, 300, 100, "Column 1", 100)
For b = 0 To 10
AddGadgetItem(0, b, "Row " + Str(b))
Next ...
by omit59
Mon Dec 10, 2007 10:17 am
Forum: Coding Questions
Topic: Window handle from process handle?
Replies: 24
Views: 12709

@PB,

works here ok, Windows XP, SP2

Timo
by omit59
Mon Dec 03, 2007 10:48 am
Forum: Coding Questions
Topic: PB printing and PrintDlg_ API
Replies: 2
Views: 1303

@Hroudtwolf,

I edited my first post to add #PD_RETURNDC flag (forgot that earlier), but my problem is that I'm not very good with APi and and like to use PB
printing functions StartPrinting() and StartDrawing().
How can I use them or can I at all?

Timo
by omit59
Mon Dec 03, 2007 9:50 am
Forum: Coding Questions
Topic: PB printing and PrintDlg_ API
Replies: 2
Views: 1303

PB printing and PrintDlg_ API

Hello!

I would like to use PrintDlg_() API and not PrintRequester(), but still use PB printing commands.
So, how do I use hDC got from PrintDlg_()?


Global DEVNAMES.DEVNAMES
Global PrintDlg.PRINTDLG
PrintDlg\hDevMode = 0
PrintDlg\hDevNames = 0
PrintDlg\lStructSize = SizeOf(PRINTDLG)
PrintDlg ...
by omit59
Fri Nov 02, 2007 6:36 am
Forum: Coding Questions
Topic: Right click menu on EditorGadget!
Replies: 11
Views: 3430

@Psychophanta:

If this is enough for You:
keyboardshortcuts for EditorGadget (CtRl+C, CtRl+V ...) still work, however there is no visible right click menu, at least on Windows XP

Timo
by omit59
Tue Jun 19, 2007 3:47 pm
Forum: Coding Questions
Topic: Difference in execution between IDE and EXE
Replies: 7
Views: 1393

@drahneir

I had same of kind problem today, dont know if it has got anything to do with yours?

My program (made with PB) was moved to another computer which has NT4 system, and at the same time printing pictures was stopped, everything else prints ok, just pictures are missing.

Tried using ...
by omit59
Mon Apr 16, 2007 2:34 pm
Forum: Coding Questions
Topic: Editorgadget undo?
Replies: 10
Views: 1706

@milan1612, thanks for trying :lol:

@Freak,

That's just what I was looking for!

And You gave that snippet already in 2006, can't understand why I didn't see that before :oops:

Thanks
Timo
by omit59
Mon Apr 16, 2007 2:10 pm
Forum: Coding Questions
Topic: Editorgadget undo?
Replies: 10
Views: 1706

@milan1612,

try this:

Enumeration
#Window_0
EndEnumeration

Enumeration
#Editor_0
#Button_0
#Button_1
#Button_2
#Text_1
EndEnumeration

Procedure Open_Window_0()
If OpenWindow(#Window_0, 408, 205, 413, 277, "Undo Test", #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_TitleBar ...