Search found 6 matches

by Tess
Wed Sep 09, 2015 9:14 am
Forum: Coding Questions
Topic: Possible to add mouse click to string gadget?
Replies: 4
Views: 1875

Re: Possible to add mouse click to text gadget?

Windows only:


If OpenWindow(0,0,0,550,700,"TextGadget",#PB_Window_SystemMenu | #PB_Window_ScreenCentered|#PB_Window_SizeGadget)

TextGadget(0, 10, 10,250,20,"Clic me ",#SS_NOTIFY)

Repeat
event=WaitWindowEvent(10)
Select event
Case #PB_Event_Gadget
Select EventGadget()
Case 0
Debug ...
by Tess
Thu Jul 16, 2015 9:52 am
Forum: Applications - Feedback and Discussion
Topic: Old Star Trek text game converted to PureBasic
Replies: 13
Views: 7581

Re: Old Star Trek text game converted to PureBasic

Great,
Sounds and voices can be added with those found here http://www.trekcore.com/audio/
:D
by Tess
Tue Mar 24, 2015 12:05 pm
Forum: Coding Questions
Topic: A spingadget-like gadget but with buttons
Replies: 2
Views: 1072

A spingadget-like gadget but with buttons

I'd like to simulate a spingadget but without the edit gadget and with 2 buttons or 2 imagebuttons.

Do you have a better solution and simplier solution than mine ?

Enumeration FormWindow
#Window_1
EndEnumeration

Enumeration FormGadget
#Button_0
#Button_1
EndEnumeration

; Structures
Structure ...
by Tess
Wed Feb 25, 2015 10:41 am
Forum: Windows
Topic: Borderless sizable window?
Replies: 15
Views: 9976

Re: Borderless sizable window?

@netmaestro
I'd like to use your code but if i add a second window, the second one can't to be closed or redim. Any idea ?
(Obviously, if i comment this line : SetProp_(WindowID(0), "oldproc", SetWindowLongPtr_(WindowID(0), #GWLP_WNDPROC, @WinProc())), the second window can to be closed or redim ...
by Tess
Mon Sep 29, 2014 5:59 pm
Forum: Coding Questions
Topic: Library for creating AVI files?
Replies: 13
Views: 9232

Re: Library for creating AVI files?

Works great !

Thanx. :D
by Tess
Thu Sep 25, 2014 2:02 pm
Forum: Coding Questions
Topic: Library for creating AVI files?
Replies: 13
Views: 9232

Re: Library for creating AVI files?

Hi, when i you use the code of Ziltch with this picture:
http://frazier.wood.free.fr/pb/test24.bmp

i've got an avi-video (it works with 1 picture, enable "loop" with your videoplayer) and it looks like that :

http://frazier.wood.free.fr/pb/test24avi.bmp

The avi works but some colors are wrong ...