Search found 25 matches

by daft
Mon Apr 11, 2011 6:24 pm
Forum: Coding Questions
Topic: combine images
Replies: 4
Views: 878

Re: combine images

thank you
by daft
Mon Apr 11, 2011 5:51 pm
Forum: Coding Questions
Topic: combine images
Replies: 4
Views: 878

Re: combine images

just side by side
by daft
Mon Apr 11, 2011 5:24 pm
Forum: Coding Questions
Topic: combine images
Replies: 4
Views: 878

combine images

I have two generated images and want to combine them into one before saving. How to?
by daft
Wed Apr 06, 2011 4:47 pm
Forum: Coding Questions
Topic: integrate an icon in a compiled .exe
Replies: 2
Views: 898

integrate an icon in a compiled .exe

Is there an easy way to integrate an icon or two into a compiled exe file? I'd like to switch my tray icons and don't want to have separate icon files in the program directory.
by daft
Thu Mar 10, 2011 4:42 pm
Forum: Coding Questions
Topic: listicongadget font
Replies: 1
Views: 614

listicongadget font

Is there a way to set different fonts for listicongadget elements? If I want to use some special symbols I have to use specific fonts.
by daft
Tue Mar 01, 2011 8:27 pm
Forum: Coding Questions
Topic: Popup menu
Replies: 3
Views: 1240

Re: Popup menu

Thanks, guys.
by daft
Tue Mar 01, 2011 5:07 pm
Forum: Coding Questions
Topic: Popup menu
Replies: 3
Views: 1240

Popup menu

Can you do separators in a popup menu? And is there a way to change the menu dynamically? I mean depending on settings, etc, to visualize changes.
by daft
Wed Feb 02, 2011 2:47 pm
Forum: Coding Questions
Topic: Window, thread, mouse
Replies: 4
Views: 1196

Re: Window, thread, mouse

A shot it in the dark at your problem: Replace your WaitWindowEvent() with WaitWindowEvent(10).
A shot it in the dark has been of absolute precision. Thank you very much.
by daft
Wed Feb 02, 2011 1:27 pm
Forum: Coding Questions
Topic: Window, thread, mouse
Replies: 4
Views: 1196

Window, thread, mouse

I have a threaded window and its main loop stops working the moment the mouse cursor leaves the window. Immediately resumes when the mouse returns. What could be the problem?
by daft
Tue Jan 18, 2011 1:31 pm
Forum: Coding Questions
Topic: threaded windows
Replies: 6
Views: 1181

Re: threaded windows

You have bug in your event loop if this is the case. Only check EventGadget() if WaitWindowEvent() returned #PB_Event_Gadget, else it's not a gadget event and EventGadget() is invalid!
Precisely that's the case. Thanks a lot.
by daft
Tue Jan 18, 2011 10:20 am
Forum: Coding Questions
Topic: threaded windows
Replies: 6
Views: 1181

Re: threaded windows

Not quite what I'm trying to achieve. Simply speaking I want just to be able to push button- start a thread. Push again- start another copy of identical thread. Then close them manually when they are not needed anymore. But as I put CreateThread under any gadget which can perform the command, the ...
by daft
Tue Jan 18, 2011 8:37 am
Forum: Coding Questions
Topic: threaded windows
Replies: 6
Views: 1181

threaded windows

I seem to be unable to grasp the concept how to start and end threads correctly. If I start a window thread inside the main loop via menu or button, I end up with multiple threads started at once. What is the right way to have a main program window and be able to start and close several identical ...
by daft
Mon Jan 17, 2011 9:30 pm
Forum: Coding Questions
Topic: threaded window
Replies: 0
Views: 524

threaded window

How to close a threaded window, not closing the main one?
by daft
Thu Dec 16, 2010 8:08 pm
Forum: Coding Questions
Topic: "Sticky" windows
Replies: 3
Views: 591

Re: "Sticky" windows

Not exactly. What I actually mean is when you touch with one window an edge of another, they kind of stick together. Possible extension of this is if one window is "parent", you can then move both by dragging one.
by daft
Thu Dec 16, 2010 7:31 pm
Forum: Coding Questions
Topic: "Sticky" windows
Replies: 3
Views: 591

"Sticky" windows

Did anyone ever attempt to make windows' edges "sticky" to one another in PB? I mean two windows "stick" and then be moved together as one.