I am attempting to capture clipboard text from PDF viewer text copies(cntrl c). However sometimes certain characters like ff,ffi and f end up being replaced by a "?" in the string after clipboard capture.
Cannot figure out why this is happening. If I paste to notepad the text is fine.
ClipData ...
Search found 15 matches
- Thu Nov 24, 2016 4:37 am
- Forum: Coding Questions
- Topic: Clipboard Characters Lost
- Replies: 1
- Views: 1232
- Thu Dec 24, 2015 1:50 am
- Forum: Tricks 'n' Tips
- Topic: Multi-Line TreeGadget [Windows]
- Replies: 8
- Views: 4379
Re: Multi-Line TreeGadget [Windows]
I've added some code to accommodate what I'm trying to do... Almost there but not quite...:)
Thanks again Rashad and Elemente.
; MultiLine Treegadget
; Rashad 19/12/15
;
#TVM_SETITEMHEIGHT = $111B
#TVM_GETITEMHEIGHT = $111C
#TVM_SETBKCOLOR = $111D
#MULTILINEWIDTH = 40
;#TOTLINES= 4
Global hBrush ...
Thanks again Rashad and Elemente.
; MultiLine Treegadget
; Rashad 19/12/15
;
#TVM_SETITEMHEIGHT = $111B
#TVM_GETITEMHEIGHT = $111C
#TVM_SETBKCOLOR = $111D
#MULTILINEWIDTH = 40
;#TOTLINES= 4
Global hBrush ...
- Mon Dec 21, 2015 1:13 am
- Forum: Coding Questions
- Topic: treegadget
- Replies: 3
- Views: 1570
Re: treegadget
Thanks appreciated...infratec wrote:http://www.purebasic.fr/english/viewtop ... 12&t=64343

- Mon Dec 21, 2015 1:09 am
- Forum: Tricks 'n' Tips
- Topic: Multi-Line TreeGadget [Windows]
- Replies: 8
- Views: 4379
Re: Multi-Line TreeGadget [Windows]
Very Nice thanks... Just what I needed...
All the best..
All the best..

- Sat Dec 19, 2015 10:15 pm
- Forum: Coding Questions
- Topic: treegadget
- Replies: 3
- Views: 1570
Re: treegadget
If no code. Any suggestions would be appreciated... Really stuck... 

- Sat Dec 19, 2015 12:35 am
- Forum: Coding Questions
- Topic: treegadget
- Replies: 3
- Views: 1570
treegadget
Hi, does anyone have code for multi-line treegadget. Looked into ownerdraw via callback but seems a bit beyond me ATM. Any help would be greatly appreciated as I need to get my project completed asap.
All the best for Christmas and the new year..
All the best for Christmas and the new year..

- Fri Jun 12, 2009 1:05 am
- Forum: Coding Questions
- Topic: Transparent Window with text
- Replies: 2
- Views: 1254
Transparent Window with text
Ok thanks alot. This this what Ive got so far and seems to pretty much do what I want.
ExamineDesktops()
textPos=DesktopWidth(0)/2
width = 120
height = 20
; Open Window that doesnt show on taskbar
OpenWindow(3,0,0,0, 0,"HiddenWindow",#PB_Window_Invisible)
hWnd2=OpenWindow(1, textPos, 0, width ...
ExamineDesktops()
textPos=DesktopWidth(0)/2
width = 120
height = 20
; Open Window that doesnt show on taskbar
OpenWindow(3,0,0,0, 0,"HiddenWindow",#PB_Window_Invisible)
hWnd2=OpenWindow(1, textPos, 0, width ...
- Tue Jun 09, 2009 11:58 pm
- Forum: Coding Questions
- Topic: Transparent Window with text
- Replies: 2
- Views: 1254
Transparent Window with text
I am trying to make a window with no borders and text only that will stay on top. Something like a timer that will sit at the top window bar. Have been playing with this code to try to create a transparent background to write on without success. Can anyone help? thanks..
Procedure ...
Procedure ...
- Sun Mar 04, 2007 7:06 am
- Forum: Tricks 'n' Tips
- Topic: Timer low CPU
- Replies: 0
- Views: 1266
Timer low CPU
;--------------------
; Access PBOSL Timer from any code with Low CPU overhead
; up to 1 ms - Learner
;--------------------
Global ObEvent.l
Procedure mytimer1()
If Not pulseEvent_(ObEvent) ;Sets Event to Signaled then Reset to off
Debug "darn "+ Str(ObEvent)
EndIf
EndProcedure
ObEvent ...
- Fri Feb 23, 2007 3:00 am
- Forum: Coding Questions
- Topic: Mutex Execution Locks
- Replies: 3
- Views: 1016
- Thu Feb 22, 2007 11:38 pm
- Forum: Coding Questions
- Topic: Mutex Execution Locks
- Replies: 3
- Views: 1016
- Thu Feb 22, 2007 4:48 am
- Forum: Coding Questions
- Topic: Mutex Execution Locks
- Replies: 3
- Views: 1016
Mutex Execution Locks
Why does this eventually lockup?
#Red1=$0000FF ;red
#Gray1=$D4D4D4 ;grey
Global Mutex1=CreateMutex()
MainWindow = OpenWindow(0,0,0,800,600,"",#PB_Window_TitleBar|#PB_Window_SystemMenu)
PImage = CreateImage(1,700, 500)
If MainWindow=0 Or CreateGadgetList(WindowID(0))=0:MessageRequester("Error ...
#Red1=$0000FF ;red
#Gray1=$D4D4D4 ;grey
Global Mutex1=CreateMutex()
MainWindow = OpenWindow(0,0,0,800,600,"",#PB_Window_TitleBar|#PB_Window_SystemMenu)
PImage = CreateImage(1,700, 500)
If MainWindow=0 Or CreateGadgetList(WindowID(0))=0:MessageRequester("Error ...
- Wed Feb 07, 2007 12:01 am
- Forum: General Discussion
- Topic: Midi Volume and Balance Msg
- Replies: 0
- Views: 891
Midi Volume and Balance Msg
Does anyone know how to send midi Volume and Balance Messages along the lines of:
midiOutShortMsg_(hMo, $C0 | Channel | Patch<< 8 )
Thanks.
Ok Solved it..
Channel=1
Controller1=7 ;Channel Volume, '10' for pan
Vol=127
midiOutShortMsg_(hMo, $B0 | Channel | Controller1 << 8| Vol << 16)
midiOutShortMsg_(hMo, $C0 | Channel | Patch<< 8 )
Thanks.
Ok Solved it..
Channel=1
Controller1=7 ;Channel Volume, '10' for pan
Vol=127
midiOutShortMsg_(hMo, $B0 | Channel | Controller1 << 8| Vol << 16)
- Tue Dec 14, 2004 3:19 am
- Forum: Coding Questions
- Topic: 1/2 VSYNC
- Replies: 3
- Views: 1215
1/2 vsync
To have a smooth effect you should set monitor vert to 30 using SetRefreshRate, but doubt that many monitor would do that... I've never seen a monitor going lower than 50
Is it for a 3D or 2D graphics?
With 3D you have to use a lapsed-time movemente system to handle slower (or faster!) computers ...
Is it for a 3D or 2D graphics?
With 3D you have to use a lapsed-time movemente system to handle slower (or faster!) computers ...
- Tue Dec 14, 2004 2:11 am
- Forum: Coding Questions
- Topic: 1/2 VSYNC
- Replies: 3
- Views: 1215
1/2 VSYNC
Does anyone know if it is possible to get smooth motion(in this case a bouncing ball) without having to run the loop at 60 fps(if vtrace is 60). This
is mainly for slower machines.
i.e.
open windowed screen and init etc
monitor vert sync=60
SetFrameRate(30)
repeat
Start3D()
DisplaySprite3D(0,x,y ...
is mainly for slower machines.
i.e.
open windowed screen and init etc
monitor vert sync=60
SetFrameRate(30)
repeat
Start3D()
DisplaySprite3D(0,x,y ...