Search found 16 matches

by GregBUG
Wed Jan 14, 2009 10:06 pm
Forum: Coding Questions
Topic: TrackBarGadget Window vs Linux version...
Replies: 0
Views: 476

TrackBarGadget Window vs Linux version...

why in windows the "TrackBarGadget" (limited values from 0 to 100)
in vertical position the value 0 is in the bottom of the bar and
in the linux version (ubuntu 8.10) then value 0 is positioned in the upper side of the bar ?

thanks.
by GregBUG
Wed Jan 07, 2009 11:15 pm
Forum: Mac OSX
Topic: AddSysTrayIcon on OSX ?
Replies: 2
Views: 2104

AddSysTrayIcon on OSX ?

i'm making an application for Win, Linux and (when i buy a mac) for osx.

my application use AddSysTrayIcon but the help of pb4.30 says that " AddSysTrayIcon" is only for win and linux...

will be compatible for osx in near future?

thanks.
by GregBUG
Wed Jan 07, 2009 10:11 pm
Forum: Tricks 'n' Tips
Topic: FMODEX-include
Replies: 26
Views: 20485

Solved!

just replace CallFunction with CallCFunction and work fine!!!

thanks.!
by GregBUG
Wed Jan 07, 2009 3:09 pm
Forum: Tricks 'n' Tips
Topic: FMODEX-include
Replies: 26
Views: 20485

nice job, it works on linux too although Flype's will only work on windows, but that's minor change to fix that for linux.

hi! i'm trying to use this lib (by Froggerprogger) on linux (ubuntu 8.10) with PB 4.30
i changed Init_FMOD() to load .so lib and it works...


Procedure Init_FMOD ...
by GregBUG
Sun Nov 09, 2008 10:11 am
Forum: Linux
Topic: Webgadget on linux?
Replies: 4
Views: 3272

ts-soft wrote:Install libxul-dev
wow thanks!
now works perfect!!!!
by GregBUG
Sat Nov 08, 2008 3:38 pm
Forum: Linux
Topic: Webgadget on linux?
Replies: 4
Views: 3272

in ubuntu 8.10

with all dependaces ok for purebasic (all examples working)
i can't use webgadget...
the compiler says.

"Mozilla embedding library not found. call webgadgetpath() fisrt to specify path."

i use webgadgetpath() with the path of "libgtkembedmoz.so" (installed by firefox2, no present ...
by GregBUG
Fri Sep 05, 2008 10:22 am
Forum: Coding Questions
Topic: window event if window is invisible...
Replies: 7
Views: 2622

tinman wrote:I don't have any and I don't know how to use COM but I found some C++ code here: http://blog.csdn.net/kuanghong/archive/ ... 13508.aspx
wow thanks!

i'll try to implement in PB.

if i succed i'll post here the source...

thanks again...
by GregBUG
Thu Sep 04, 2008 11:36 pm
Forum: Coding Questions
Topic: window event if window is invisible...
Replies: 7
Views: 2622

Apparently that message is only sent to a top-level foreground window, i.e. your window must be visible and active otherwise it will not receive it. I can't check that right now though.

Yes, see here for more info - seems like you need to use COM instead of that window message: http://msdn ...
by GregBUG
Thu Sep 04, 2008 7:17 am
Forum: Coding Questions
Topic: window event if window is invisible...
Replies: 7
Views: 2622

sorry...
this is the source...

i'm trying to catch the usb key....


EnableExplicit

#MainForm = 0
#True = 1
#False = 0

Global Event.l = 0
Global Quit.b = 0
Global QueryCancelAutoPlay.l

CreatePopupMenu(0)
MenuItem(1, "Quit")

Procedure OpenFolderWindow (Folder.s)
Define OpInfo.s="OPEN ...
by GregBUG
Wed Sep 03, 2008 9:50 pm
Forum: Coding Questions
Topic: window event if window is invisible...
Replies: 7
Views: 2622

window event if window is invisible...

Hello PB Coders!!

is there a way to detect windows event if a windows is invisible?

if yes how?

ex.

if i open a window...

Procedure.b OpenWindow_MainForm()
If OpenWindow(#MainForm, 326, 264, 566, 295, "PenDrive Immunizer", #PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_TitleBar ...
by GregBUG
Sat Jun 14, 2008 7:16 am
Forum: Off Topic
Topic: Euro 2008 - footie zone!
Replies: 120
Views: 25134

Olanda - Italy 3:0
Olanda - France 4:1

...

:lol:
by GregBUG
Thu Aug 19, 2004 2:49 pm
Forum: Coding Questions
Topic: Changing Desktop WallPaper on the fly ... i try but...
Replies: 13
Views: 5426

thank you! :D
it work fine here! (winXP PRO & WinME) 8)
by GregBUG
Wed Aug 18, 2004 6:15 pm
Forum: Coding Questions
Topic: Changing Desktop WallPaper on the fly ... i try but...
Replies: 13
Views: 5426

ok. now work fine. thanks!

How can i set the property stretched or "placed side by side" ?

i searched in the windows api but i can't find... :oops:

many thanks! :wink:
by GregBUG
Tue Aug 17, 2004 12:36 pm
Forum: Coding Questions
Topic: Changing Desktop WallPaper on the fly ... i try but...
Replies: 13
Views: 5426

Changing Desktop WallPaper on the fly ... i try but...

i try with

SystemParametersInfo_(#SPI_SETDESKWALLPAPER, 0, "C:\Myphoto.jpg", #SPIF_UPDATEINIFILE | #SPIF_SENDWININICHANGE)

but it don't work! :?

i use winxp.

can you help me? :lol:

Thanks!

Ciao Gianluca.
by GregBUG
Wed Apr 21, 2004 1:24 pm
Forum: Coding Questions
Topic: ReadByte question....
Replies: 2
Views: 1040

OK! work fine!

thanks!!!!