Search found 19 matches

by phuckstepp
Tue Jul 25, 2006 12:44 pm
Forum: Coding Questions
Topic: Multiple display positions
Replies: 10
Views: 2294

Here's the final v4 updated code:


; purebasic survival guide
; multi_monitor_2.pb - 30.12.2003 ejn (blueznl)
; http://www.xs4all.nl/~bluez/datatalk/pure1.htm
;
; - how to detect multiple monitors and their relative position to each other
; - EndumDisplayMonitors_()
; - EnumDisplayDevices ...
by phuckstepp
Tue Jul 25, 2006 12:39 pm
Forum: Coding Questions
Topic: Multiple display positions
Replies: 10
Views: 2294

As simple as that :)

Thanks.
by phuckstepp
Tue Jul 25, 2006 12:21 pm
Forum: Coding Questions
Topic: Multiple display positions
Replies: 10
Views: 2294

Those commands only give the dimensions of the extra displays and not the actual location of the display, i.e. If I set my secondary monitor directly above my primary I need to know that its location is 0,-1024 in relation to the primary screen at 0,0
by phuckstepp
Tue Jul 25, 2006 11:49 am
Forum: Coding Questions
Topic: Multiple display positions
Replies: 10
Views: 2294

The code was in the Tricks and Tips section:

http://www.purebasic.fr/english/viewtop ... e+monitors[/url]
by phuckstepp
Tue Jul 25, 2006 11:41 am
Forum: Coding Questions
Topic: Multiple display positions
Replies: 10
Views: 2294

Multiple display positions

I'm trying to create a multi monitor application in PureBasic 4 and I need to know the relative positions of each of the additional monitors.

For Example, I have my right secondary monitor at a position of -192.

I found some PB3.9x code for this but it doesn't work in PB4, can anyone point me in ...
by phuckstepp
Sun Mar 19, 2006 5:38 pm
Forum: Coding Questions
Topic: Frame3d Title backcolor
Replies: 7
Views: 2454

Fantastic, works like a dream.

Thanks for all your help.
by phuckstepp
Sun Mar 19, 2006 3:28 pm
Forum: Coding Questions
Topic: Frame3d Title backcolor
Replies: 7
Views: 2454

That worked great, with one small exception.

It also changes the background color of every other gadget on the window. I have a number of other gadgets that have different colored backgrounds.

Can the call back be gadget specific rather than globally for hte entire window?
by phuckstepp
Sun Mar 19, 2006 2:29 pm
Forum: Coding Questions
Topic: Frame3d Title backcolor
Replies: 7
Views: 2454

Thanks, I did forget to mention I'm using PB4 beta 7.
by phuckstepp
Sun Mar 19, 2006 2:07 pm
Forum: Coding Questions
Topic: Frame3d Title backcolor
Replies: 7
Views: 2454

Frame3d Title backcolor

I have a window that has a background color of white and on it I have a Frame3d gadget. I want the title/text of the frame3d gadget to be white as well so that it all matches nicely.

Unfortunately it seems that the SetGadgetColor command doesn't apply to the frame3d gadget at least where the ...
by phuckstepp
Sun Mar 12, 2006 3:05 pm
Forum: Coding Questions
Topic: Splitter gadget question
Replies: 1
Views: 610

Not to worry, I've solved it.

I used FreeGadget to remove the gadgets involved and then add them back in with the splitter the other way round.
by phuckstepp
Sun Mar 12, 2006 12:24 pm
Forum: Coding Questions
Topic: Splitter gadget question
Replies: 1
Views: 610

Splitter gadget question

Is it possible to have a splitter start horizontally splitting and then after clicking a button or menu item get the splitter to swap to a vertical split?
by phuckstepp
Fri Mar 10, 2006 8:53 am
Forum: Announcement
Topic: PureBasic 4.00 - Beta 6
Replies: 37
Views: 12640

I was building an application in v3.9 that used threads but it mucked up with all the string manipulation. When I tried to pull out strings from various gadgets I would get incorrect values.

Since I converted it to v4 Beta 4 (then beta 5) I've had no problems with any variable/string manipulation ...
by phuckstepp
Wed Mar 08, 2006 9:21 am
Forum: Coding Questions
Topic: Window/Gadget repaint
Replies: 4
Views: 1757

Thanks for the help.

I'll try those options out and see which works best for me.
by phuckstepp
Tue Mar 07, 2006 8:25 pm
Forum: Coding Questions
Topic: Window/Gadget repaint
Replies: 4
Views: 1757

Window/Gadget repaint

I have a small app I'm working on that has a rather intensive for...next loop, during this loop I update several text gadgets with information for the user.

The problem is that if the window is obscured in any way the window doesn't get refreshed and only the text gadgets I'm updating show.

I was ...
by phuckstepp
Tue Jan 10, 2006 8:52 am
Forum: Coding Questions
Topic: Variables getting wrong value
Replies: 8
Views: 2208

guess I'll have to wait for v4's release then.

Thanks.